From 890b9fda5e459d2573741a7b724e5d199403aed0 Mon Sep 17 00:00:00 2001 From: Chris Jones Date: Tue, 12 Jan 2010 00:45:24 -0600 Subject: [PATCH] Bug 538532: When a plugin crashes, make sure all its instances are "stopped" ASAP. r=bsmedberg r=josh --HG-- extra : rebase_source : 4355e574e5cf74da76ef5773e16fa3bd9a09225e --- modules/plugin/base/src/nsPluginHost.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/plugin/base/src/nsPluginHost.cpp b/modules/plugin/base/src/nsPluginHost.cpp index 4b3541990858..b2cd3667dc63 100644 --- a/modules/plugin/base/src/nsPluginHost.cpp +++ b/modules/plugin/base/src/nsPluginHost.cpp @@ -5189,6 +5189,7 @@ nsPluginHost::PluginCrashed(nsNPAPIPlugin* aPlugin) objectContent->PluginCrashed(); } + instancetag->mInstance->Stop(); *pinstancetag = (*pinstancetag)->mNext; delete instancetag; }