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 e27b915555
commit 07409c7f6f

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.