Fix bug where sync thread wouldn't start when backgrounded

The clue was here:
0eafeb557e/fuse.py (L861)
This commit is contained in:
Tanner Collin 2017-10-13 00:13:30 -06:00
parent efb5f3b8c5
commit be39849693

View File

@ -34,6 +34,8 @@ class StandardNotesFUSE(LoggingMixIn, Operations):
self.run_sync = Event() self.run_sync = Event()
self.stop_sync = Event() self.stop_sync = Event()
self.sync_thread = Thread(target=self._syncThread) self.sync_thread = Thread(target=self._syncThread)
def init(self, path):
self.sync_thread.start() self.sync_thread.start()
def destroy(self, path): def destroy(self, path):