Quitty repeatedly terminates the macOS loginwindow process
Summary
Quitty repeatedly auto-quits the macOS loginwindow process when operating in Exclude Mode. In the observed history, macOS appears to relaunch it and Quitty terminates it again every 15 seconds.
loginwindow is a critical system process responsible for login sessions, authentication, logout, restart and shutdown. It should never be monitored or terminated by an automatic app-quitting utility.
Observed behaviour
Quitty History recorded loginwindow terminations at:
- 14:57:45
- 14:58:00
- 14:58:15
- 14:58:30
- 14:58:45
The consistent 15-second interval suggests a relaunch/termination loop. No logout or visible session failure was observed, but repeatedly terminating this process is unsafe.
A screenshot of the Quitty History is available if useful.
Expected behaviour
Quitty should always ignore loginwindow, regardless of Include or Exclude mode.
Relevant identifiers:
- Bundle path:
/System/Library/CoreServices/loginwindow.app - Bundle identifier:
com.apple.loginwindow
Likely cause
The current system-process filter includes several CoreServices applications but does not include loginwindow:
https://github.com/chentao1006/Quitty/blob/main/Quitty/Settings.swift#L417-L468
Suggested fix
Protect critical system processes by bundle identifier as well as path, and explicitly include com.apple.loginwindow / /System/Library/CoreServices/loginwindow.app in the hard-coded ignore list.
Workaround
Manually adding loginwindow.app to the Quitty exclusion list stops Quitty from targeting it.
Thank you for the feedback. I will fix it.
I added some similar apps to the excluded list but I think system services like these should have been excluded anyway?
/System/Applications/Siri AI.app /System/Library/CoreServices/CoreLocationAgent.app /System/Library/CoreServices/CoreServicesUIAgent.app /System/Library/CoreServices/loginwindow.app /System/Library/CoreServices/PowerChime.app /System/Library/CoreServices/UserNotificationCenter.app /System/Library/CoreServices/WallpaperAgent.app /System/Library/PrivateFrameworks/SkyLight.framework/Versions/A/Resources/AquaAppearanceHelper.app /System/Library/PrivateFrameworks/UniversalAccess.framework/Versions/A/Resources/universalAccessAuthWarn.app
Also SecurityAgent. I'm not sure what this is or where it's located so I could not add it to the excluded list but I reported it as false quit.
@patel-priyank Thanks for your feedback.