From 438f5ea9c48452816b3874fc90561c54414b6dfc Mon Sep 17 00:00:00 2001 From: Thilo Schulz <arny@ats.s.bawue.de> Date: Fri, 14 Oct 2011 13:52:28 +0000 Subject: Force unload of running VMs when quitting through signal handler --- src/sys/sys_main.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/sys') 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 ) -- cgit