mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-08 10:44:56 +00:00
Bug 1032876 - Do not do excessive and unnecessary plugin proto teardown; r=johns
This commit is contained in:
parent
e27b915555
commit
07409c7f6f
@ -2450,7 +2450,7 @@ nsObjectLoadingContent::UnloadObject(bool aResetState)
|
||||
|
||||
mScriptRequested = false;
|
||||
|
||||
if (!mInstanceOwner) {
|
||||
if (mIsStopping) {
|
||||
// The protochain is normally thrown out after a plugin stops, but if we
|
||||
// re-enter while stopping a plugin and try to load something new, we need
|
||||
// to throw away the old protochain in the nested unload.
|
||||
|
Loading…
Reference in New Issue
Block a user