bool EntityApp<E>::uninstallPyModules() { S_RELEASE(pEntities_); unregisterPyObjectToScript("entities"); unregisterPyObjectToScript("globalData"); S_RELEASE(pGlobalData_); Entities<E>::uninstallScript(); //Entity::uninstallScript(); EntityDef::uninstallScript(); return true; }
//------------------------------------------------------------------------------------- bool Baseapp::uninstallPyModules() { unregisterPyObjectToScript("globalBases"); S_RELEASE(pGlobalBases_); Base::uninstallScript(); Proxy::uninstallScript(); return EntityApp<Base>::uninstallPyModules(); }
//------------------------------------------------------------------------------------- bool Cellapp::uninstallPyModules() { if(g_kbeSrvConfig.getBaseApp().profiles.open_pyprofile) { script::PyProfile::stop("kbengine"); char buf[MAX_BUF]; kbe_snprintf(buf, MAX_BUF, "baseapp%u.prof", startGroupOrder_); script::PyProfile::dump("kbengine", buf); script::PyProfile::remove("kbengine"); } unregisterPyObjectToScript("cellAppData"); S_RELEASE(pCellAppData_); Entity::uninstallScript(); return EntityApp<Entity>::uninstallPyModules(); }
//------------------------------------------------------------------------------------- bool ClientApp::uninstallPyScript() { unregisterPyObjectToScript("entities"); return uninstallPyModules() && EntityDef::uninstallScript(); }