mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-24 15:16:41 +00:00
Add logging for Downloader.stop.
This commit is contained in:
parent
2dabd8a10b
commit
38dd49ee5a
@ -570,6 +570,7 @@ class Downloader(QueueMixin, WriteFileMixin):
|
|||||||
return d
|
return d
|
||||||
|
|
||||||
def stop(self):
|
def stop(self):
|
||||||
|
self._log("stop")
|
||||||
self._stopped = True
|
self._stopped = True
|
||||||
d = defer.succeed(None)
|
d = defer.succeed(None)
|
||||||
d.addCallback(lambda ign: self._lazy_tail)
|
d.addCallback(lambda ign: self._lazy_tail)
|
||||||
|
Loading…
Reference in New Issue
Block a user