added sm_dump_handles command for tracking down Handle leaks... more to come someday
--HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40906
This commit is contained in:
@@ -1961,3 +1961,13 @@ void CPluginManager::AddFunctionsToForward(const char *name, IChangeableForward
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
CPlugin *CPluginManager::GetPluginFromIdentity(IdentityToken_t *pToken)
|
||||
{
|
||||
if (pToken->type != g_PluginIdent)
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
|
||||
return (CPlugin *)(pToken->ptr);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user