fix(app): signal background ActivityWatch worker to stop on shutdown
This commit is contained in:
@@ -201,6 +201,8 @@ class CatserApp:
|
||||
def shutdown(self) -> None:
|
||||
"""Destroys overlay window and releases resources."""
|
||||
self.is_running = False
|
||||
if self.aw_client:
|
||||
self.aw_client.stop()
|
||||
if self.overlay:
|
||||
self.overlay.destroy()
|
||||
self.overlay = None
|
||||
|
||||
Reference in New Issue
Block a user