Add logging for Downloader.stop.

This commit is contained in:
David Stainton 2016-01-27 15:58:53 +00:00 committed by Brian Warner
parent 2dabd8a10b
commit 38dd49ee5a

View File

@ -570,6 +570,7 @@ class Downloader(QueueMixin, WriteFileMixin):
return d
def stop(self):
self._log("stop")
self._stopped = True
d = defer.succeed(None)
d.addCallback(lambda ign: self._lazy_tail)