Philipp Hörist pushed to branch gtk4 at gajim / gajim
Commits:
d8349f18 by Philipp Hörist at 2024-10-13T01:34:03+02:00
refactor: Fix more leaks
- - - - -
1 changed file:
- gajim/gtk/omemo_trust_manager.py
Changes:
=====================================
gajim/gtk/omemo_trust_manager.py
=====================================
@@ -283,6 +283,7 @@ def __init__(self,
def do_unroot(self) -> None:
Gtk.ListBoxRow.do_unroot(self)
+ del self._trust_button
app.check_finalize(self)
def delete_fingerprint(self, *args: Any) -> None:
@@ -343,6 +344,7 @@ def __init__(self, row: KeyRow) -> None:
def do_unroot(self) -> None:
Gtk.MenuButton.do_unroot(self)
del self._trust_popover
+ del self._row
app.check_finalize(self)
def update(self) -> None:
@@ -375,8 +377,10 @@ def __init__(self, row: KeyRow, trust_button: TrustButton)
-> None:
def do_unroot(self) -> None:
Gtk.Popover.do_unroot(self)
+ self._disconnect_all()
del self._listbox
del self._row
+ del self._trust_button
app.check_finalize(self)
def _activated(self, _listbox: Gtk.ListBox, row: MenuOption) -> None:
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/d8349f18d9a2c263599173d0a3719ff99436a960
--
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/d8349f18d9a2c263599173d0a3719ff99436a960
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]