bug=88053

r=peterl
approval=selmer

After testing real and java on win32 and linux, we're satisfied that this works.

Checking in to trunk.  Already on branch.
This commit is contained in:
edburns%acm.org 2001-07-17 19:55:33 +00:00
parent 33c1722127
commit d9d15c77dd
2 changed files with 4 additions and 2 deletions

View File

@ -880,7 +880,8 @@ void nsPluginTag::TryUnloadPlugin(PRBool aForceShutdown)
}
// before we unload check if we are allowed to, see bug #61388
if (mLibrary && mCanUnloadLibrary)
// also, never unload an XPCOM plugin library
if (mLibrary && mCanUnloadLibrary && !isXPCOM)
PR_UnloadLibrary(mLibrary);
// we should zero it anyway, it is going to be unloaded by

View File

@ -880,7 +880,8 @@ void nsPluginTag::TryUnloadPlugin(PRBool aForceShutdown)
}
// before we unload check if we are allowed to, see bug #61388
if (mLibrary && mCanUnloadLibrary)
// also, never unload an XPCOM plugin library
if (mLibrary && mCanUnloadLibrary && !isXPCOM)
PR_UnloadLibrary(mLibrary);
// we should zero it anyway, it is going to be unloaded by