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);
|
||||
#ifdef HAVE_THREADS
|
||||
I_start_threads();
|
||||
atexit(I_stop_threads);
|
||||
I_AddExitFunc(I_stop_threads);
|
||||
#endif
|
||||
I_StartupConsole();
|
||||
#ifdef NEWSIGNALHANDLER
|
||||
|
|
Loading…
Reference in New Issue