qt gui: clean-up efilter when exiting
related: https://github.com/spesmilo/electrum/issues/6889#issuecomment-2184052577
This commit is contained in:
@@ -241,6 +241,7 @@ class ElectrumGui(BaseElectrumGui, Logger):
|
|||||||
return
|
return
|
||||||
self._cleaned_up = True
|
self._cleaned_up = True
|
||||||
self.app.new_window_signal.disconnect()
|
self.app.new_window_signal.disconnect()
|
||||||
|
self.app.removeEventFilter(self.efilter)
|
||||||
self.efilter = None
|
self.efilter = None
|
||||||
# If there are still some open windows, try to clean them up.
|
# If there are still some open windows, try to clean them up.
|
||||||
for window in list(self.windows):
|
for window in list(self.windows):
|
||||||
|
|||||||
Reference in New Issue
Block a user