fix typo which may not shut down blob_tracker

This commit is contained in:
Kay Kurokawa 2017-06-14 20:42:41 -04:00 committed by Jack Robison
parent ed23622521
commit 59893e8fa8

View file

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