//----------------------------------------------------------------------------- // Purpose: Called to Shutdown the game UI system //----------------------------------------------------------------------------- void CGameUI::Shutdown() { // notify all the modules of Shutdown g_VModuleLoader.ShutdownPlatformModules(); // unload the modules them from memory g_VModuleLoader.UnloadPlatformModules(); ModInfo().FreeModInfo(); // release platform mutex // close the mutex if (g_hMutex) { Sys_ReleaseMutex(g_hMutex); } if (g_hWaitMutex) { Sys_ReleaseMutex(g_hWaitMutex); } steamapicontext->Clear(); #ifndef _X360 // SteamAPI_Shutdown(); << Steam shutdown is controlled by engine #endif ConVar_Unregister(); DisconnectTier3Libraries(); DisconnectTier2Libraries(); DisconnectTier1Libraries(); }
//----------------------------------------------------------------------------- // //----------------------------------------------------------------------------- void CDmxEditApp::PostShutdown() { ShutdownDataModel(); DisconnectDataModel(); DisconnectTier3Libraries(); DisconnectTier2Libraries(); DisconnectTier1Libraries(); }
void CGameUI2::Shutdown() { if (GetBasePanel()) GetBasePanel()->DeletePanel(); ConVar_Unregister(); DisconnectTier3Libraries(); DisconnectTier2Libraries(); DisconnectTier1Libraries(); }
//----------------------------------------------------------------------------- // // Purpose: Valve entry point called when the Valve libraries are being unloaded // Input : // Output : // //----------------------------------------------------------------------------- DLL_EXPORT void VsMayaDisconnect() { ShutdownDataModel(); DisconnectDataModel(); DisconnectTier3Libraries(); DisconnectTier2Libraries(); DisconnectTier1Libraries(); // Ok to unload this plugin as the libraries have been disconnected g_okToUnload = true; }
void Interfaces::Unload() { DisconnectTier3Libraries(); DisconnectTier2Libraries(); DisconnectTier1Libraries(); pSteamAPIContext->Clear(); pClientDLL = nullptr; pClientEntityList = nullptr; pEngineClient = nullptr; pEngineTool = nullptr; pFileSystem = nullptr; pGameEventManager = nullptr; pRenderView = nullptr; }