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):
|
def _stop_daemon(self):
|
||||||
if self.lbrycrdd is not None and self.started_lbrycrdd is True:
|
if self.lbrycrdd is not None and self.started_lbrycrdd is True:
|
||||||
|
alert.info("Stopping lbrycrdd...")
|
||||||
d = threads.deferToThread(self._rpc_stop)
|
d = threads.deferToThread(self._rpc_stop)
|
||||||
|
d.addCallback(lambda _: alert.info("Stopped lbrycrdd."))
|
||||||
return d
|
return d
|
||||||
return defer.succeed(True)
|
return defer.succeed(True)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue