windows: stop poll watcher when watched socket is closed locally
This commit is contained in:
parent
1cd9642cbb
commit
dd1355da8d
@ -186,6 +186,7 @@ static void uv__fast_poll_process_poll_req(uv_loop_t* loop, uv_poll_t* handle,
|
||||
if (afd_poll_info->Handles[0].Events & AFD_POLL_LOCAL_CLOSE) {
|
||||
/* Stop polling. */
|
||||
handle->events = 0;
|
||||
uv__handle_stop(handle);
|
||||
}
|
||||
|
||||
if (events != 0) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user