forked from LBRYCommunity/lbry-sdk
stop looping call when stop() is called
This commit is contained in:
parent
c4a78a149b
commit
a53e911a0c
1 changed files with 4 additions and 0 deletions
|
@ -149,6 +149,10 @@ class LBRYWallet(object):
|
|||
def stop(self):
|
||||
|
||||
self.stopped = True
|
||||
|
||||
if self._exchange_rate_updater.running:
|
||||
self._exchange_rate_updater.stop()
|
||||
|
||||
# If self.next_manage_call is None, then manage is currently running or else
|
||||
# start has not been called, so set stopped and do nothing else.
|
||||
if self.next_manage_call is not None:
|
||||
|
|
Loading…
Reference in a new issue