bool frontendShutdown() { debug(LOG_WZ, "== Shutting down frontend =="); saveConfig();// save settings to registry. if (!mechanicsShutdown()) { return false; } interfaceShutDown(); scrShutDown(); //do this before shutting down the iV library resReleaseAllData(); if (!objShutdown()) { return false; } ResearchRelease(); debug(LOG_TEXTURE, "=== frontendShutdown ==="); modelShutdown(); pie_TexShutDown(); pie_TexInit(); // ready for restart freeComponentLists(); statsShutDown(); return true; }
static void dataReleaseStats(WZ_DECL_UNUSED void *pData) { freeComponentLists(); statsShutDown(); }
static void dataReleaseStats(WZ_DECL_UNUSED void *pData) { // FIXME, huge hack, is called many times! freeComponentLists(); statsShutDown(); }