Skip to content

Commit 1217832

Browse files
committed
unix: remove FSEventStreamFlushSync() call
This call, in the context of file watching, appears to trigger assertion warnings on some macOS configurations. Refs: nodejs/node#854 Fixes: libuv#1334 PR-URL: libuv#1349 Reviewed-By: Fedor Indutny <[email protected]> Reviewed-By: Saúl Ibarra Corretgé <[email protected]>
1 parent e11dcd4 commit 1217832

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/unix/fsevents.c

-3
Original file line numberDiff line numberDiff line change
@@ -378,9 +378,6 @@ static void uv__fsevents_destroy_stream(uv_loop_t* loop) {
378378
if (state->fsevent_stream == NULL)
379379
return;
380380

381-
/* Flush all accumulated events */
382-
pFSEventStreamFlushSync(state->fsevent_stream);
383-
384381
/* Stop emitting events */
385382
pFSEventStreamStop(state->fsevent_stream);
386383

0 commit comments

Comments
 (0)