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:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user