diff options
Diffstat (limited to 'src/sys/sys_main.c')
-rw-r--r-- | src/sys/sys_main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sys/sys_main.c b/src/sys/sys_main.c index abf05e6e..0773b483 100644 --- a/src/sys/sys_main.c +++ b/src/sys/sys_main.c @@ -550,10 +550,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 ) |