mirror of
https://git.suyu.dev/suyu/Yucom.git
synced 2026-01-06 14:38:05 +01: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
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)
|
if(wait_handle != INVALID_HANDLE_VALUE)
|
||||||
{
|
{
|
||||||
|
FreeConsole();
|
||||||
WaitForSingleObject(wait_handle, INFINITE);
|
WaitForSingleObject(wait_handle, INFINITE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue