mirror of
https://github.com/nextcloud/desktop.git
synced 2024-10-24 05:15:40 +03:00
Mac FS watcher: ignore events from the same process
This commit is contained in:
parent
1b03dc759b
commit
e4965ab06b
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ void FolderWatcherPrivate::startWatching()
|
|||
pathsToWatch,
|
||||
kFSEventStreamEventIdSinceNow,
|
||||
0, // latency
|
||||
kFSEventStreamCreateFlagNone
|
||||
kFSEventStreamCreateFlagNone+kFSEventStreamCreateFlagIgnoreSelf
|
||||
);
|
||||
|
||||
FSEventStreamScheduleWithRunLoop(stream, CFRunLoopGetCurrent(), kCFRunLoopDefaultMode);
|
||||
|
|
Loading…
Reference in a new issue