diff --git a/code/sys/sys_main.c b/code/sys/sys_main.c index 1ff55e4d..ed00b65d 100644 --- a/code/sys/sys_main.c +++ b/code/sys/sys_main.c @@ -549,10 +549,12 @@ void Sys_SigHandler( int signal ) else { signalcaught = qtrue; + VM_Forced_Unload_Start(); #ifndef DEDICATED CL_Shutdown(va("Received signal %d", signal), qtrue, qtrue); #endif SV_Shutdown(va("Received signal %d", signal) ); + VM_Forced_Unload_Done(); } if( signal == SIGTERM || signal == SIGINT )