This commit is contained in:
Chris Marsh 2017-07-18 11:13:22 -07:00
parent b947e6afe5
commit 79e0e336c5

View file

@ -37,12 +37,10 @@ bool BaseConnection::Open()
}
if (GetLastError() != ERROR_PIPE_BUSY) {
printf("Could not open pipe. Error: %d\n", GetLastError());
return false;
}
if (!WaitNamedPipeW(PipeName, 10000)) {
printf("Could not open pipe: 10 second wait timed out.\n");
return false;
}
}