diff options
author | icculus <icculus@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2005-09-01 05:07:15 +0000 |
---|---|---|
committer | icculus <icculus@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2005-09-01 05:07:15 +0000 |
commit | 646e87719a78cae865eb3f7522a3b44b1ce07770 (patch) | |
tree | 8fa8d5b5533a3601953f26bae378b44389dfb3cf | |
parent | 223d1c3ed7072c2e3ce409e5da9f5e2107f19764 (diff) | |
download | ioquake3-aero-646e87719a78cae865eb3f7522a3b44b1ce07770.tar.gz ioquake3-aero-646e87719a78cae865eb3f7522a3b44b1ce07770.zip |
Make a shot at total client shutdown on crash.
git-svn-id: svn://svn.icculus.org/quake3/trunk@61 edf5b092-35ff-0310-97b2-ce42778d08ea
-rw-r--r-- | code/unix/linux_signals.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/code/unix/linux_signals.c b/code/unix/linux_signals.c index eff27b3..686c947 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 } |