diff --git a/src/win/pipe.c b/src/win/pipe.c index 158be9c1..589a8036 100644 --- a/src/win/pipe.c +++ b/src/win/pipe.c @@ -367,6 +367,8 @@ static DWORD WINAPI pipe_connect_thread_proc(void* parameter) { if (pipeHandle != INVALID_HANDLE_VALUE) { break; } + + SwitchToThread(); } if (pipeHandle != INVALID_HANDLE_VALUE && !uv_set_pipe_handle(handle, pipeHandle)) {