From: David Stainton Date: Mon, 24 Aug 2015 11:19:45 +0000 (+0200) Subject: Teach uploader to process lazy tail upon stop method X-Git-Url: https://git.rkrishnan.org/components/com_hotproperty/flags/class-simplejson.JSONDecoder.html?a=commitdiff_plain;h=9d00fccf4738da08ca0b93b6f13fb9b29b1f742d;p=tahoe-lafs%2Ftahoe-lafs.git Teach uploader to process lazy tail upon stop method --- diff --git a/src/allmydata/frontends/magic_folder.py b/src/allmydata/frontends/magic_folder.py index 4700e691..05c4667c 100644 --- a/src/allmydata/frontends/magic_folder.py +++ b/src/allmydata/frontends/magic_folder.py @@ -197,6 +197,7 @@ class Uploader(QueueMixin): d = self._notifier.wait_until_stopped() else: d = defer.succeed(None) + d.addCallback(lambda ign: self._lazy_tail) return d def start_scanning(self):