screen: add gc call when cleaning up panels

This commit is contained in:
Alfredo Monclus 2024-06-04 18:07:41 -03:00
parent 83d38a77dc
commit 78465fa564

View File

@ -554,6 +554,7 @@ class KlipperScreen(Gtk.Window):
for dialog in self.dialogs:
self.gtk.remove_dialog(dialog)
self.close_screensaver()
gc.collect()
def _remove_current_panel(self):
if hasattr(self.panels[self._cur_panels[-1]], "deactivate"):