fix lbryum shut down
This commit is contained in:
parent
dcdd4d8fd6
commit
a9868a4f17
1 changed files with 4 additions and 0 deletions
|
@ -938,8 +938,12 @@ class LBRYumWallet(Wallet):
|
||||||
self.network = None
|
self.network = None
|
||||||
d.callback(True)
|
d.callback(True)
|
||||||
|
|
||||||
|
if self.wallet:
|
||||||
|
self.wallet.stop_threads()
|
||||||
|
log.info("Stopped wallet")
|
||||||
if self.network:
|
if self.network:
|
||||||
self.network.stop()
|
self.network.stop()
|
||||||
|
log.info("Stopped connection to lbryum server")
|
||||||
|
|
||||||
stop_check = task.LoopingCall(check_stopped)
|
stop_check = task.LoopingCall(check_stopped)
|
||||||
stop_check.start(.1)
|
stop_check.start(.1)
|
||||||
|
|
Loading…
Reference in a new issue