platform: win32: sdl: Fix zombie processes after early Sys_Error on windows+sdl

This commit is contained in:
lewa_j 2021-01-16 00:16:52 +03:00 committed by Alibek Omarov
parent 9bc3d6d315
commit 63c4b2748c

View File

@ -64,8 +64,14 @@ void Platform_Init( void )
#if XASH_POSIX
Posix_Daemonize();
#endif
#ifdef XASH_WIN32
Wcon_CreateConsole(); // system console used by dedicated server or show fatal errors
#endif
}
void Platform_Shutdown( void )
{
#ifdef XASH_WIN32
Wcon_DestroyConsole();
#endif
}