mirror of
https://github.com/ValveSoftware/Proton.git
synced 2025-01-29 23:18:19 +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:
parent
8398ebded4
commit
fe4663159d
@ -695,6 +695,7 @@ int main(int argc, char *argv[])
|
|||||||
|
|
||||||
if(wait_handle != INVALID_HANDLE_VALUE)
|
if(wait_handle != INVALID_HANDLE_VALUE)
|
||||||
{
|
{
|
||||||
|
FreeConsole();
|
||||||
WaitForSingleObject(wait_handle, INFINITE);
|
WaitForSingleObject(wait_handle, INFINITE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user