steam_helper: Call FreeConsole before waiting to exit
Patch by Jacek Caban. This allows conhost to exit so it won't block server exit.
This commit is contained in:
parent
8398ebded4
commit
fe4663159d
1 changed files with 1 additions and 0 deletions
|
@ -695,6 +695,7 @@ int main(int argc, char *argv[])
|
|||
|
||||
if(wait_handle != INVALID_HANDLE_VALUE)
|
||||
{
|
||||
FreeConsole();
|
||||
WaitForSingleObject(wait_handle, INFINITE);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue