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:
parent
307d5b20c2
commit
17af34bba5
@ -104,6 +104,12 @@ void CForwardManager::OnPluginUnloaded(IPlugin *plugin)
|
|||||||
fwd = (*iter);
|
fwd = (*iter);
|
||||||
fwd->RemoveFunctionsOfPlugin(plugin);
|
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)
|
IForward *CForwardManager::FindForward(const char *name, IChangeableForward **ifchng)
|
||||||
|
Loading…
Reference in New Issue
Block a user