summaryrefslogtreecommitdiff
path: root/deps/uv/src/unix/kqueue.c
diff options
context:
space:
mode:
authorTimothy J Fontaine <tjfontaine@gmail.com>2014-03-10 17:01:21 -0700
committerTimothy J Fontaine <tjfontaine@gmail.com>2014-03-10 17:01:21 -0700
commite92d35d80be6e193cb547e94c6fbf3654542dbaa (patch)
treebede6f090b8cca1397728634b03b31cfa7a4334c /deps/uv/src/unix/kqueue.c
parentb444392a98e66b49dfee8c7e36c59d4e7c6ea1ac (diff)
downloadandroid-node-v8-e92d35d80be6e193cb547e94c6fbf3654542dbaa.tar.gz
android-node-v8-e92d35d80be6e193cb547e94c6fbf3654542dbaa.tar.bz2
android-node-v8-e92d35d80be6e193cb547e94c6fbf3654542dbaa.zip
uv: Upgrade to v0.11.22
Diffstat (limited to 'deps/uv/src/unix/kqueue.c')
-rw-r--r--deps/uv/src/unix/kqueue.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/deps/uv/src/unix/kqueue.c b/deps/uv/src/unix/kqueue.c
index 5a25e117c9..77064175d6 100644
--- a/deps/uv/src/unix/kqueue.c
+++ b/deps/uv/src/unix/kqueue.c
@@ -383,10 +383,10 @@ int uv_fs_event_stop(uv_fs_event_t* handle) {
#if defined(__APPLE__)
if (uv__fsevents_close(handle))
- uv__io_stop(handle->loop, &handle->event_watcher, UV__POLLIN);
-#else
- uv__io_stop(handle->loop, &handle->event_watcher, UV__POLLIN);
#endif /* defined(__APPLE__) */
+ {
+ uv__io_close(handle->loop, &handle->event_watcher);
+ }
free(handle->path);
handle->path = NULL;