Commit 8b705935 authored by ssbssa's avatar ssbssa Committed by Rémi Denis-Courmont
Browse files

compat: cancel association of network events before close

Signed-off-by: Rémi Denis-Courmont's avatarRémi Denis-Courmont <>
parent 21125e19
......@@ -200,6 +200,7 @@ int poll(struct pollfd *fds, unsigned nfds, int timeout)
if (WSAEnumNetworkEvents(fds[i].fd, evts[i], &ne))
memset(&ne, 0, sizeof (ne));
WSAEventSelect(fds[i].fd, evts[i], 0);
if (ne.lNetworkEvents & FD_CONNECT)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment