Philipp Hörist pushed to branch master at gajim / gajim


Commits:
5ab513b8 by Philipp Hörist at 2026-09-01T18:47:46+02:00
fix: Shutdown Pulse Manager on quit

Fixes #12727

- - - - -


2 changed files:

- gajim/common/application.py
- gajim/common/task_manager.py


Changes:

=====================================
gajim/common/application.py
=====================================
@@ -264,6 +264,7 @@ def _shutdown_core(self) -> None:
         app.storage.archive.shutdown()
         app.settings.save()
         app.settings.shutdown()
+        app.pulse_manager.shutdown()
 
         self.end_profiling()
         configpaths.cleanup_temp()


=====================================
gajim/common/task_manager.py
=====================================
@@ -121,3 +121,8 @@ def _execute_pulse(self) -> bool:
                 log.exception("Unable to execute pulse")
 
         return GLib.SOURCE_CONTINUE
+
+    def shutdown(self) -> None:
+        log.info("Shutdown Pulse Manager")
+        GLib.source_remove(self._timeout_id)
+        self._callbacks.clear()



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/5ab513b84ecdc75a5c9e69cc651bb273ac75826d

-- 
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/5ab513b84ecdc75a5c9e69cc651bb273ac75826d
You're receiving this email because of your account on dev.gajim.org.


_______________________________________________
Commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to