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


Commits:
9625e5eb by Philipp Hörist at 2025-04-13T19:49:16+02:00
imprv: ExceptionDialog: Don’t open multipe dialogs

Fixes #8370

- - - - -


1 changed file:

- gajim/gtk/exception.py


Changes:

=====================================
gajim/gtk/exception.py
=====================================
@@ -81,8 +81,6 @@ def _hook(type_: type[BaseException], value: BaseException, 
tb: TracebackType) -
 
     ExceptionDialog(type_, value, tb)
 
-    _exception_in_progress.release()
-
 
 class ExceptionDialog(GajimAppWindow, SignalManager):
     def __init__(
@@ -259,6 +257,7 @@ def _before_send(self, event: dict[str, Any], hint: Any) -> 
dict[str, Any]:
 
     def _cleanup(self) -> None:
         self._disconnect_all()
+        _exception_in_progress.release()
 
 
 def init() -> None:



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/9625e5eb04b03dc91a3d2d3453b8c1fde87b1c8c

-- 
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/9625e5eb04b03dc91a3d2d3453b8c1fde87b1c8c
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