Fix bug where sync thread wouldn't start when backgrounded
The clue was here:
0eafeb557e/fuse.py (L861)
This commit is contained in:
parent
efb5f3b8c5
commit
be39849693
|
@ -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):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user