aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/unix/poll.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/unix/poll.c b/src/unix/poll.c
index 2001fc8c..816c7dc2 100644
--- a/src/unix/poll.c
+++ b/src/unix/poll.c
@@ -101,6 +101,7 @@ static void uv__poll_stop(uv_poll_t* handle) {
&handle->io_watcher,
POLLIN | POLLOUT | UV__POLLRDHUP | UV__POLLPRI);
uv__handle_stop(handle);
+ uv__platform_invalidate_fd(handle->loop, handle->io_watcher.fd);
}