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


Commits:
6b1e9dc2 by Philipp Hörist at 2024-10-21T20:54:42+02:00
fix: StartChat fix leak

- - - - -


1 changed file:

- gajim/gtk/start_chat.py


Changes:

=====================================
gajim/gtk/start_chat.py
=====================================
@@ -1004,6 +1004,7 @@ def unbind(self) -> None:
         self.__bindings.clear()
 
     def do_unroot(self) -> None:
+        self._disconnect_all()
         Gtk.Grid.do_unroot(self)
         app.check_finalize(self)
 
@@ -1045,8 +1046,8 @@ def __init__(self) -> None:
         self.set_model(self._selection_model)
 
     def do_unroot(self) -> None:
-        Gtk.ListView.do_unroot(self)
         self._disconnect_all()
+        Gtk.ListView.do_unroot(self)
         del self._model
         app.check_finalize(self)
 



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/6b1e9dc2e5c9f3ca44d61889d8edf4aa6fd612da

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