MCPcopy Create free account
hub / github.com/JACoders/OpenJK / Com_Quit_f

Function Com_Quit_f

code/qcommon/common.cpp:317–326  ·  view source on GitHub ↗

============= Com_Quit_f Both client and server can use this, and it will do the apropriate things. ============= */

Source from the content-addressed store, hash-verified

315=============
316*/
317void 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

Callers

nothing calls this directly

Calls 5

Sys_QuitFunction · 0.85
Com_ShutdownFunction · 0.70
FS_ShutdownFunction · 0.70
SV_ShutdownFunction · 0.50
CL_ShutdownFunction · 0.50

Tested by

no test coverage detected