mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-28 13:21:28 +00:00
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:
parent
33c1722127
commit
d9d15c77dd
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user