mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Fix linux crash on quit
This commit is contained in:
parent
bca2c8cb19
commit
0cd57b7712
1 changed files with 6 additions and 6 deletions
|
|
@ -1594,18 +1594,18 @@ INT32 I_StartupSystem(void)
|
||||||
SDL_version SDLlinked;
|
SDL_version SDLlinked;
|
||||||
SDL_VERSION(&SDLcompiled)
|
SDL_VERSION(&SDLcompiled)
|
||||||
SDL_GetVersion(&SDLlinked);
|
SDL_GetVersion(&SDLlinked);
|
||||||
#ifdef HAVE_THREADS
|
|
||||||
I_start_threads();
|
|
||||||
I_AddExitFunc(I_stop_threads);
|
|
||||||
I_ThreadPoolInit();
|
|
||||||
I_AddExitFunc(I_ThreadPoolShutdown);
|
|
||||||
#endif
|
|
||||||
I_StartupConsole();
|
I_StartupConsole();
|
||||||
#ifdef NEWSIGNALHANDLER
|
#ifdef NEWSIGNALHANDLER
|
||||||
// This is useful when debugging. It lets GDB attach to
|
// This is useful when debugging. It lets GDB attach to
|
||||||
// the correct process easily.
|
// the correct process easily.
|
||||||
if (!M_CheckParm("-nofork"))
|
if (!M_CheckParm("-nofork"))
|
||||||
I_Fork();
|
I_Fork();
|
||||||
|
#endif
|
||||||
|
#ifdef HAVE_THREADS
|
||||||
|
I_start_threads();
|
||||||
|
I_AddExitFunc(I_stop_threads);
|
||||||
|
I_ThreadPoolInit();
|
||||||
|
I_AddExitFunc(I_ThreadPoolShutdown);
|
||||||
#endif
|
#endif
|
||||||
I_RegisterSignals();
|
I_RegisterSignals();
|
||||||
I_OutputMsg("Compiled for SDL version: %d.%d.%d\n",
|
I_OutputMsg("Compiled for SDL version: %d.%d.%d\n",
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue