commit 258b5040003c62b57cad8c46843fb31195ddf4b8
parent c9482b5ea2169464450240bf9a595997069d06f3
Author: SomberNight <somber.night@protonmail.com>
Date: Sat, 8 Dec 2018 06:31:28 +0100
qt main window: unregister network callbacks
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/electrum/gui/qt/main_window.py b/electrum/gui/qt/main_window.py
@@ -3102,6 +3102,8 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, PrintError):
self.wallet.thread.stop()
if self.network:
self.network.unregister_callback(self.on_network)
+ self.network.unregister_callback(self.on_quotes)
+ self.network.unregister_callback(self.on_history)
self.config.set_key("is_maximized", self.isMaximized())
if not self.isMaximized():
g = self.geometry()