SomberNight
4 years ago
No known key found for this signature in database
GPG Key ID: B33B5F232C6271E9
2 changed files with
4 additions and
0 deletions
-
electrum/gui/qt/__init__.py
-
electrum/gui/qt/main_window.py
|
@ -392,6 +392,8 @@ class ElectrumGui(Logger): |
|
|
self.app.sendEvent(self.app.clipboard(), event) |
|
|
self.app.sendEvent(self.app.clipboard(), event) |
|
|
if self.tray: |
|
|
if self.tray: |
|
|
self.tray.hide() |
|
|
self.tray.hide() |
|
|
|
|
|
self.tray.deleteLater() |
|
|
|
|
|
self.tray = None |
|
|
self.app.aboutToQuit.connect(clean_up) |
|
|
self.app.aboutToQuit.connect(clean_up) |
|
|
|
|
|
|
|
|
# main loop |
|
|
# main loop |
|
|
|
@ -3184,6 +3184,8 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, Logger): |
|
|
if self._update_check_thread: |
|
|
if self._update_check_thread: |
|
|
self._update_check_thread.exit() |
|
|
self._update_check_thread.exit() |
|
|
self._update_check_thread.wait() |
|
|
self._update_check_thread.wait() |
|
|
|
|
|
if self.tray: |
|
|
|
|
|
self.tray = None |
|
|
self.gui_object.timer.timeout.disconnect(self.timer_actions) |
|
|
self.gui_object.timer.timeout.disconnect(self.timer_actions) |
|
|
self.gui_object.close_window(self) |
|
|
self.gui_object.close_window(self) |
|
|
|
|
|
|
|
|