platform: win32: sdl: Fix zombie processes after early Sys_Error on windows+sdl
This commit is contained in:
parent
9bc3d6d315
commit
63c4b2748c
1 changed files with 6 additions and 0 deletions
|
@ -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
|
||||
}
|
Loading…
Add table
Reference in a new issue