Merge pull request #694 from lbryio/fix_session_close
fix typo which may not shut down blob_tracker
This commit is contained in:
commit
2dab24ea14
2 changed files with 2 additions and 2 deletions
|
@ -18,7 +18,7 @@ at anytime.
|
|||
|
||||
### Fixed
|
||||
* Fixed some log messages throwing exceptions
|
||||
*
|
||||
* Fix shutdown of the blob tracker by Session
|
||||
|
||||
### Deprecated
|
||||
*
|
||||
|
|
|
@ -171,7 +171,7 @@ class Session(object):
|
|||
"""Stop all services"""
|
||||
log.info('Shutting down %s', self)
|
||||
ds = []
|
||||
if self.blob_manager is not None:
|
||||
if self.blob_tracker is not None:
|
||||
ds.append(defer.maybeDeferred(self.blob_tracker.stop))
|
||||
if self.dht_node is not None:
|
||||
ds.append(defer.maybeDeferred(self.dht_node.stop))
|
||||
|
|
Loading…
Reference in a new issue