From a9868a4f17f22c9ebf5e2065395b9d6fddec8c7b Mon Sep 17 00:00:00 2001 From: Jack Robison Date: Sun, 30 Apr 2017 15:31:28 -0400 Subject: [PATCH] fix lbryum shut down --- lbrynet/core/Wallet.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lbrynet/core/Wallet.py b/lbrynet/core/Wallet.py index 9fdb698f0..eec5057eb 100644 --- a/lbrynet/core/Wallet.py +++ b/lbrynet/core/Wallet.py @@ -938,8 +938,12 @@ class LBRYumWallet(Wallet): self.network = None d.callback(True) + if self.wallet: + self.wallet.stop_threads() + log.info("Stopped wallet") if self.network: self.network.stop() + log.info("Stopped connection to lbryum server") stop_check = task.LoopingCall(check_stopped) stop_check.start(.1)