Windows: fix WaitNamedPipe thread bug

This commit is contained in:
Bert Belder 2011-08-09 17:35:18 +02:00
parent 65ed582cae
commit 831b15a47c

View File

@ -317,8 +317,6 @@ static DWORD WINAPI pipe_connect_thread_proc(void* parameter) {
uv_fatal_error(GetLastError(), "PostQueuedCompletionStatus");
}
handle->reqs_pending++;
return 0;
}
@ -363,6 +361,8 @@ int uv_pipe_connect(uv_connect_t* req, uv_pipe_t* handle,
goto error;
}
handle->reqs_pending++;
return 0;
}