/** * @brief Teardown fixture. */ void teardown(void) { Cmd_Shutdown(); Fs_Shutdown(); Mem_Shutdown(); }
/* * @brief Shuts down the master server. */ static void Shutdown(const char *msg) { Com_Print("%s", msg); g_list_free_full(ms_servers, Z_Free); Fs_Shutdown(); Z_Shutdown(); }
/** * @brief Com_Shutdown implementation. */ static void Shutdown(const char *msg) { if (msg) { fputs(msg, stdout); } g_list_free_full(ms_servers, Mem_Free); Fs_Shutdown(); Mem_Shutdown(); }
/** * @brief Cleans up all game engine subsystems. */ static void Shutdown(const char *msg) { Com_Print("%s", msg); Sv_Shutdown(msg); Cl_Shutdown(); Netchan_Shutdown(); Thread_Shutdown(); Con_Shutdown(); Cvar_Shutdown(); Cmd_Shutdown(); Fs_Shutdown(); Mem_Shutdown(); SDL_Quit(); }
/** * @brief Teardown fixture. */ void teardown(void) { Fs_Shutdown(); Mem_Shutdown(); }
/* * @brief Teardown fixture. */ void teardown(void) { Fs_Shutdown(); Z_Shutdown(); }