]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
Teach uploader to process lazy tail upon stop method
authorDavid Stainton <dstainton415@gmail.com>
Mon, 24 Aug 2015 11:19:45 +0000 (13:19 +0200)
committerDaira Hopwood <daira@jacaranda.org>
Tue, 15 Sep 2015 16:56:08 +0000 (17:56 +0100)
src/allmydata/frontends/magic_folder.py

index 4700e691c51394600cbaa65ca0b632ef3633abd6..05c4667c23bbe3a2b10203b2f7fb8d96c314556a 100644 (file)
@@ -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):