[quake3-commits] r2185 - trunk/code/sys

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Fri Oct 14 09:52:28 EDT 2011


Author: thilo
Date: 2011-10-14 09:52:28 -0400 (Fri, 14 Oct 2011)
New Revision: 2185

Modified:
   trunk/code/sys/sys_main.c
Log:
Force unload of running VMs when quitting through signal handler


Modified: trunk/code/sys/sys_main.c
===================================================================
--- trunk/code/sys/sys_main.c	2011-09-29 02:44:08 UTC (rev 2184)
+++ trunk/code/sys/sys_main.c	2011-10-14 13:52:28 UTC (rev 2185)
@@ -549,10 +549,12 @@
 	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 )



More information about the quake3-commits mailing list