- Added SV_Shutdown to Linux signal handler to ensure that clients don't hang when server gets killed, as suggested by Tony J. White
- Added newline to final message sent to clients. - Added check for whether client is running at all before CL_Shutdown runs through.
This commit is contained in:
parent
2583351211
commit
1847c321f0
3 changed files with 6 additions and 1 deletions
|
@ -46,6 +46,7 @@ static void signal_handler(int sig) // bk010104 - replace this... (NOTE TTimo hu
|
|||
// rcg08312005 Agreed: changed to CL_Shutdown... --ryan.
|
||||
CL_Shutdown();
|
||||
#endif
|
||||
SV_Shutdown("Signal caught");
|
||||
Sys_Exit(0); // bk010104 - abstraction NOTE TTimo send a 0 to avoid DOUBLE SIGNAL FAULT
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue