fix(app): signal background ActivityWatch worker to stop on shutdown

This commit is contained in:
2026-09-08 23:26:31 +02:00
parent bbc6768b78
commit 07b4fbd401
+2
View File
@@ -201,6 +201,8 @@ class CatserApp:
def shutdown(self) -> None: def shutdown(self) -> None:
"""Destroys overlay window and releases resources.""" """Destroys overlay window and releases resources."""
self.is_running = False self.is_running = False
if self.aw_client:
self.aw_client.stop()
if self.overlay: if self.overlay:
self.overlay.destroy() self.overlay.destroy()
self.overlay = None self.overlay = None