show when lbrycrdd is being stopped and when it stops

This commit is contained in:
Jimmy Kiselak 2016-01-06 00:56:45 -05:00
parent 39275682d9
commit 49869d071a

View file

@ -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)