summaryrefslogtreecommitdiff
path: root/deps/uv/src/unix/core.c
diff options
context:
space:
mode:
Diffstat (limited to 'deps/uv/src/unix/core.c')
-rw-r--r--deps/uv/src/unix/core.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/deps/uv/src/unix/core.c b/deps/uv/src/unix/core.c
index 524ffd0c61..318eb7184e 100644
--- a/deps/uv/src/unix/core.c
+++ b/deps/uv/src/unix/core.c
@@ -109,6 +109,10 @@ void uv_close(uv_handle_t* handle, uv_close_cb close_cb) {
uv__poll_close((uv_poll_t*)handle);
break;
+ case UV_FS_POLL:
+ uv__fs_poll_close((uv_fs_poll_t*)handle);
+ break;
+
default:
assert(0);
}
@@ -133,6 +137,9 @@ static void uv__finish_close(uv_handle_t* handle) {
case UV_ASYNC:
case UV_TIMER:
case UV_PROCESS:
+ case UV_FS_EVENT:
+ case UV_FS_POLL:
+ case UV_POLL:
break;
case UV_NAMED_PIPE:
@@ -148,12 +155,6 @@ static void uv__finish_close(uv_handle_t* handle) {
uv__udp_finish_close((uv_udp_t*)handle);
break;
- case UV_FS_EVENT:
- break;
-
- case UV_POLL:
- break;
-
default:
assert(0);
break;