twizard: make sure terminate is always called - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit bfcfb1f2408a8d32d0370558f58b74071315e38a DIR parent f33ee01e6456734ab723ee4444b7bbfb706b29be HTML Author: ThomasV <thomasv@electrum.org> Date: Mon, 24 Jul 2017 18:35:33 +0200 wizard: make sure terminate is always called Diffstat: M gui/qt/__init__.py | 1 + M gui/qt/installwizard.py | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) --- DIR diff --git a/gui/qt/__init__.py b/gui/qt/__init__.py t@@ -173,6 +173,7 @@ class ElectrumGui: storage = WalletStorage(path) wizard = InstallWizard(self.config, self.app, self.plugins, storage) wallet = wizard.run_and_get_wallet() + wizard.terminate() if not wallet: return wallet.start_threads(self.daemon.network) DIR diff --git a/gui/qt/installwizard.py b/gui/qt/installwizard.py t@@ -251,7 +251,6 @@ class InstallWizard(QDialog, MessageBoxMixin, BaseWizard): self.storage.upgrade() self.show_warning(_('Your wallet was upgraded successfully')) self.wallet = Wallet(self.storage) - self.terminate() return self.wallet action = self.storage.get_action() t@@ -271,7 +270,6 @@ class InstallWizard(QDialog, MessageBoxMixin, BaseWizard): return self.wallet self.wallet = Wallet(self.storage) - self.terminate() return self.wallet