MCPcopy Create free account
hub / github.com/alliedmodders/sourcemod / OnPluginDestroyed

Method OnPluginDestroyed

core/logic/PluginSys.cpp:822–828  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

820}
821
822void CPluginManager::CPluginIterator::OnPluginDestroyed(IPlugin *plugin)
823{
824 if (*current == plugin)
825 current = mylist.erase(current);
826 else
827 mylist.remove(static_cast<CPlugin *>(plugin));
828}
829
830/******************
831 * PLUGIN MANAGER *

Callers 2

PurgeMethod · 0.45
OnPluginDestroyedMethod · 0.45

Calls 2

eraseMethod · 0.45
removeMethod · 0.45

Tested by

no test coverage detected