void ClearPluginLibraries() { ClearLibraries(LibSource_Plugin); for (size_t i=0; i<g_RegNatives.length(); i++) { delete [] g_RegNatives[i]->pfn; delete g_RegNatives[i]; } g_RegNatives.clear(); }
void ClearMenus() { for (size_t i = 0; i < g_NewMenus.length(); i++) { delete g_NewMenus[i]; } g_NewMenus.clear(); while (!g_MenuFreeStack.empty()) { g_MenuFreeStack.pop(); } }
void OnAmxxDetach() { for (int i = 0; i<(int)PEL.length(); i++) { if (PEL[i]) { delete PEL[i]; PEL[i] = 0; } } PEL.clear(); }
void OnAmxxDetach() { MMDB_close(&HandleDB); LangList.clear(); }
void funcenums_free() { sFuncEnums.clear(); }
void pstructs_free() { sStructs.clear(); }
void methodmaps_free() { sMethodmaps.clear(); }
void resetheaplist() { sHeapScopes.clear(); }
void resetstacklist() { sStackScopes.clear(); }