============= Com_Quit_f Both client and server can use this, and it will do the apropriate things. ============= */
| 315 | ============= |
| 316 | */ |
| 317 | void NORETURN Com_Quit_f( void ) { |
| 318 | // don't try to shutdown if we are in a recursive error |
| 319 | if ( !com_errorEntered ) { |
| 320 | SV_Shutdown ("Server quit\n"); |
| 321 | CL_Shutdown (); |
| 322 | Com_Shutdown (); |
| 323 | FS_Shutdown(); |
| 324 | } |
| 325 | Sys_Quit (); |
| 326 | } |
| 327 | |
| 328 | |
| 329 |
nothing calls this directly
no test coverage detected