Bustage fix for bug 500593.

This commit is contained in:
Josh Aas 2009-06-26 10:54:51 -04:00
parent c3ab076f19
commit ba718de566

View File

@ -1906,7 +1906,6 @@ DoStopPlugin(nsPluginInstanceOwner *aInstanceOwner, PRBool aDelayedStop)
// XXXjst: ns4xPluginInstance::Destroy() is a no-op, clean // XXXjst: ns4xPluginInstance::Destroy() is a no-op, clean
// this mess up when there are no other instance types. // this mess up when there are no other instance types.
inst->Stop(); inst->Stop();
inst->Destroy();
if (window) if (window)
window->CallSetWindow(nullinst); window->CallSetWindow(nullinst);
@ -1923,7 +1922,6 @@ DoStopPlugin(nsPluginInstanceOwner *aInstanceOwner, PRBool aDelayedStop)
return; return;
inst->Stop(); inst->Stop();
inst->Destroy();
} }
} }
else { else {