screen: add gc call when cleaning up panels
This commit is contained in:
parent
83d38a77dc
commit
78465fa564
@ -554,6 +554,7 @@ class KlipperScreen(Gtk.Window):
|
|||||||
for dialog in self.dialogs:
|
for dialog in self.dialogs:
|
||||||
self.gtk.remove_dialog(dialog)
|
self.gtk.remove_dialog(dialog)
|
||||||
self.close_screensaver()
|
self.close_screensaver()
|
||||||
|
gc.collect()
|
||||||
|
|
||||||
def _remove_current_panel(self):
|
def _remove_current_panel(self):
|
||||||
if hasattr(self.panels[self._cur_panels[-1]], "deactivate"):
|
if hasattr(self.panels[self._cur_panels[-1]], "deactivate"):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user