unmanaged forwards need to be pruned for dead plugins too

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40237
This commit is contained in:
David Anderson 2006-12-30 06:07:32 +00:00
parent 307d5b20c2
commit 17af34bba5

View File

@ -104,6 +104,12 @@ void CForwardManager::OnPluginUnloaded(IPlugin *plugin)
fwd = (*iter);
fwd->RemoveFunctionsOfPlugin(plugin);
}
for (iter=m_unmanaged.begin(); iter!=m_unmanaged.end(); iter++)
{
fwd = (*iter);
fwd->RemoveFunctionsOfPlugin(plugin);
}
}
IForward *CForwardManager::FindForward(const char *name, IChangeableForward **ifchng)