From 136557954c5586afb3091243beb9f359ed36fd07 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Thu, 1 Sep 2005 05:07:15 +0000 Subject: [PATCH] Make a shot at total client shutdown on crash. --- code/unix/linux_signals.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/code/unix/linux_signals.c b/code/unix/linux_signals.c index eff27b3c..686c9477 100644 --- a/code/unix/linux_signals.c +++ b/code/unix/linux_signals.c @@ -42,7 +42,9 @@ static void signal_handler(int sig) // bk010104 - replace this... (NOTE TTimo hu signalcaught = qtrue; printf("Received signal %d, exiting...\n", sig); #ifndef DEDICATED - GLimp_Shutdown(); // bk010104 - shouldn't this be CL_Shutdown + //GLimp_Shutdown(); // bk010104 - shouldn't this be CL_Shutdown + // rcg08312005 Agreed: changed to CL_Shutdown... --ryan. + CL_Shutdown(); #endif Sys_Exit(0); // bk010104 - abstraction NOTE TTimo send a 0 to avoid DOUBLE SIGNAL FAULT }