1
0
mirror of https://github.com/ValveSoftware/Proton.git synced 2025-04-16 14:22:35 +03:00

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:
Andrew Eikum 2021-03-11 08:53:01 -06:00
parent 8398ebded4
commit fe4663159d

@ -695,6 +695,7 @@ int main(int argc, char *argv[])
if(wait_handle != INVALID_HANDLE_VALUE)
{
FreeConsole();
WaitForSingleObject(wait_handle, INFINITE);
}