- 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:
Thilo Schulz committed 2006-05-04 13:59:58 +00:00
1 parent 2583351211
commit 1847c321f0
3 files changed
+6 -1

No files matched your search

+1
View File
@@ -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
}