mirror of
https://github.com/UberGames/ioef.git
synced 2024-11-27 22:42:09 +00:00
Make a shot at total client shutdown on crash.
This commit is contained in:
parent
8cb9ba5bda
commit
136557954c
1 changed files with 3 additions and 1 deletions
|
@ -42,7 +42,9 @@ static void signal_handler(int sig) // bk010104 - replace this... (NOTE TTimo hu
|
||||||
signalcaught = qtrue;
|
signalcaught = qtrue;
|
||||||
printf("Received signal %d, exiting...\n", sig);
|
printf("Received signal %d, exiting...\n", sig);
|
||||||
#ifndef DEDICATED
|
#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
|
#endif
|
||||||
Sys_Exit(0); // bk010104 - abstraction NOTE TTimo send a 0 to avoid DOUBLE SIGNAL FAULT
|
Sys_Exit(0); // bk010104 - abstraction NOTE TTimo send a 0 to avoid DOUBLE SIGNAL FAULT
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue