Bug 1032876 - Do not do excessive and unnecessary plugin proto teardown; r=johns

This commit is contained in:
Terrence Cole 2014-07-01 09:11:01 -07:00
parent d96f12a470
commit 1e5b3ed6cc

View File

@ -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.