Fix bug where sync thread wouldn't start when backgrounded

The clue was here:
https://github.com/terencehonles/fusepy/blob/0eafeb557e0e70926ed9450008ef17057d302391/fuse.py#L861
This commit is contained in:
2017-10-13 00:13:30 -06:00
parent efb5f3b8c5
commit be39849693
+2
View File
@@ -34,6 +34,8 @@ class StandardNotesFUSE(LoggingMixIn, Operations):
self.run_sync = Event()
self.stop_sync = Event()
self.sync_thread = Thread(target=self._syncThread)
def init(self, path):
self.sync_thread.start()
def destroy(self, path):