BTT is preventing Google Chrome from shutting down

Describe the bug
If BTT is running, then I'm not able to quit the Google Chrome app - it reopens right away. If I quit BTT, then Google Chrome stays closed after quiting Google Chrome. If I open BTT while Google Chrome is closed, then Google Chrome will open all by itself.

Affected input device (e.g. MacBook Trackpad, Magic Mouse/Trackpad, Touch Bar, etc.):

  • Touchbar

Screenshots
If applicable, add screenshots to help explain your problem. (You can just paste or drag them here)

Device information:

  • Type of Mac: MacBook Pro (15-inch, 2016)
  • macOS version: 12.0.1
  • BetterTouchTool version: 3.626 (1778)

Additional information (e.g. StackTraces, related issues, screenshots, workarounds, etc.):

EDIT:
Disabling all of my triggers fixed this bug. I think I'll be able to identify the specific trigger which is causing this to happen.
Stand by.

Problem:

The culperate was a "Apple Script / JavaScript Widget" trigger. The following code was being run every second which caused Google Chrome not to stay closed:

tell application "Google Chrome"
		set window_list to every window
...
end tell

Solution:
Only run the script if Google Chrome is running. Modify code like so:

set appName to "Google Chrome"

if application appName is running then
	tell application "Google Chrome"
		set window_list to every window
		...
	end tell
end if
1 Like