Skip to content

Commit

Permalink
Make a shot at total client shutdown on crash.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Sep 1, 2005
1 parent 8cb9ba5 commit 1365579
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion code/unix/linux_signals.c
Expand Up @@ -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
}
Expand Down

0 comments on commit 1365579

Please sign in to comment.