X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=blobdiff_plain;f=src%2Finit.c;h=3f060862a525d58b3a7c8c6d94cbed331db9f1f5;hp=3ab46d0f1b2b54e31265149df4209e1dcc6b3016;hb=d3e24bbfb70edb9a805806345eede28c7129baf8;hpb=85ab2d263ae6041c7263a4330071512c436382f9 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();