mirror of
https://github.com/w23/xash3d-fwgs
synced 2024-12-15 13:41:33 +01:00
platform: win32: sdl: Fix zombie processes after early Sys_Error on windows+sdl
This commit is contained in:
parent
9bc3d6d315
commit
63c4b2748c
@ -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…
Reference in New Issue
Block a user