1
0

qt gui: clean-up efilter when exiting

related: https://github.com/spesmilo/electrum/issues/6889#issuecomment-2184052577
This commit is contained in:
SomberNight
2024-07-09 14:26:24 +00:00
parent 9d6c818283
commit ebfc701b97

View File

@@ -241,6 +241,7 @@ class ElectrumGui(BaseElectrumGui, Logger):
return
self._cleaned_up = True
self.app.new_window_signal.disconnect()
self.app.removeEventFilter(self.efilter)
self.efilter = None
# If there are still some open windows, try to clean them up.
for window in list(self.windows):