fixed a bug where extensions were forwarded their unload call AFTER being dropped as an identity
--HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401208
This commit is contained in:
parent
76c34cc268
commit
2f3c518eb1
@ -109,7 +109,6 @@ CExtension::~CExtension()
|
||||
{
|
||||
if (m_pAPI)
|
||||
{
|
||||
m_pAPI->OnExtensionUnload();
|
||||
if (m_PlId)
|
||||
{
|
||||
g_pMMPlugins->Unload(m_PlId, true, NULL, 0);
|
||||
@ -687,6 +686,10 @@ bool CExtensionManager::UnloadExtension(IExtension *_pExt)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* Tell it to unload */
|
||||
pAPI = pExt->GetAPI();
|
||||
pAPI->OnExtensionUnload();
|
||||
}
|
||||
|
||||
IdentityToken_t *pIdentity;
|
||||
|
Loading…
Reference in New Issue
Block a user