X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=blobdiff_plain;f=src%2Finit.c;h=3f060862a525d58b3a7c8c6d94cbed331db9f1f5;hp=3ab46d0f1b2b54e31265149df4209e1dcc6b3016;hb=be5bf9c7912238465ec23cec535277ebc1a4a21b;hpb=12a8fd3a64d6bee5ca5f5b89e4a00b49d78bbd2c diff --git a/src/init.c b/src/init.c index 3ab46d0f..3f060862 100644 --- a/src/init.c +++ b/src/init.c @@ -6194,16 +6194,13 @@ void CloseAllAndExit(int exit_value) FreeAllImages(); -#if defined(TARGET_SDL) -#if defined(TARGET_SDL2) // !!! TODO !!! // set a flag to tell the network server thread to quit and wait for it // using SDL_WaitThread() -#else - if (network_server) // terminate network server - SDL_KillThread(server_thread); -#endif -#endif + // + // Code used with SDL 1.2: + // if (network_server) // terminate network server + // SDL_KillThread(server_thread); CloseVideoDisplay(); ClosePlatformDependentStuff();