forked from LBRYCommunity/lbry-sdk
show when lbrycrdd is being stopped and when it stops
This commit is contained in:
parent
39275682d9
commit
49869d071a
1 changed files with 2 additions and 0 deletions
|
@ -402,7 +402,9 @@ class LBRYcrdWallet(object):
|
|||
|
||||
def _stop_daemon(self):
|
||||
if self.lbrycrdd is not None and self.started_lbrycrdd is True:
|
||||
alert.info("Stopping lbrycrdd...")
|
||||
d = threads.deferToThread(self._rpc_stop)
|
||||
d.addCallback(lambda _: alert.info("Stopped lbrycrdd."))
|
||||
return d
|
||||
return defer.succeed(True)
|
||||
|
||||
|
|
Loading…
Reference in a new issue