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.


git-svn-id: svn://10.0.0.236/trunk@99427 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
edburns%acm.org
2001-07-17 19:55:33 +00:00
parent edc62aaa6f
commit 181335ad23
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