Wait for threads before SDL_Quit (lol)
This commit is contained in:
parent
5fff4c35fc
commit
a80c7a26dd
|
@ -2254,7 +2254,7 @@ INT32 I_StartupSystem(void)
|
||||||
SDL_GetVersion(&SDLlinked);
|
SDL_GetVersion(&SDLlinked);
|
||||||
#ifdef HAVE_THREADS
|
#ifdef HAVE_THREADS
|
||||||
I_start_threads();
|
I_start_threads();
|
||||||
atexit(I_stop_threads);
|
I_AddExitFunc(I_stop_threads);
|
||||||
#endif
|
#endif
|
||||||
I_StartupConsole();
|
I_StartupConsole();
|
||||||
#ifdef NEWSIGNALHANDLER
|
#ifdef NEWSIGNALHANDLER
|
||||||
|
|
Loading…
Reference in a new issue