Commit 93db86a7 authored by Mike Kaplinskiy's avatar Mike Kaplinskiy Committed by Alexandre Julliard

server: Don't delay events, we simply shouldn't send them in the first place.

parent 0b251c08
......@@ -260,9 +260,7 @@ static void sock_wake_up( struct sock *sock )
unsigned int events = sock->pmask & sock->mask;
int i;
/* Do not signal events if there are still pending asynchronous IO requests */
/* We need this to delay FD_CLOSE events until all pending overlapped requests are processed */
if ( !events || async_queued( sock->read_q ) || async_queued( sock->write_q ) ) return;
if ( !events ) return;
if (sock->event)
{
......
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