/* * @brief */ void Netchan_Shutdown(void) { Net_Config(NS_UDP_CLIENT, false); Net_Config(NS_UDP_SERVER, false); Net_Shutdown(); }
CWatchBSP::~CWatchBSP(){ Reset(); if ( m_pCmd ) { g_ptr_array_free( m_pCmd, true ); m_pCmd = NULL; } if ( m_sBSPName ) { g_free( m_sBSPName ); m_sBSPName = NULL; } Net_Shutdown(); }
/** * Return to default system state. */ void Sys_Shutdown(void) { // We are now shutting down. appShutdown = true; // Time to unload *everything*. if(App_GameLoaded()) Con_Execute(CMDS_DDAY, "unload", true, false); Net_Shutdown(); // Let's shut down sound first, so Windows' HD-hogging doesn't jam // the MUS player (would produce horrible bursts of notes). S_Shutdown(); #ifdef __CLIENT__ GL_Shutdown(); DD_ClearEvents(); #endif DD_DestroyGames(); }