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
Родитель e27b915555
Коммит 07409c7f6f
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

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