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

View file

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