URI: 
       trestore cmd: stop wallet threads - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit 8951dc3120f08b8cdd4eda3a68360f3525f837bb
   DIR parent a6fe73ad7280a5a1a6833b677022ce22d08d267f
  HTML Author: SomberNight <somber.night@protonmail.com>
       Date:   Mon, 26 Feb 2018 01:33:02 +0100
       
       restore cmd: stop wallet threads
       
       while "restore" does not wait for verifier to finish, this will at least ensure that whatever has been verified, gets persisted
       
       Diffstat:
         M electrum                            |       2 ++
       
       1 file changed, 2 insertions(+), 0 deletions(-)
       ---
   DIR diff --git a/electrum b/electrum
       t@@ -161,6 +161,8 @@ def run_non_RPC(config):
                    print_msg("Recovering wallet...")
                    wallet.synchronize()
                    wallet.wait_until_synchronized()
       +            wallet.stop_threads()
       +            # note: we don't wait for SPV
                    msg = "Recovery successful" if wallet.is_found() else "Found no history for this wallet"
                else:
                    msg = "This wallet was restored offline. It may contain more addresses than displayed."