mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-02-02 10:14:42 +00: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
|
#if XASH_POSIX
|
||||||
Posix_Daemonize();
|
Posix_Daemonize();
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef XASH_WIN32
|
||||||
|
Wcon_CreateConsole(); // system console used by dedicated server or show fatal errors
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
void Platform_Shutdown( void )
|
void Platform_Shutdown( void )
|
||||||
{
|
{
|
||||||
|
#ifdef XASH_WIN32
|
||||||
|
Wcon_DestroyConsole();
|
||||||
|
#endif
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user