mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 22:32:46 +00:00
Fixing 47360, patch by sean@beatnik.com, r=av
This commit is contained in:
parent
22fb378e7d
commit
0ff6c8206b
@ -743,7 +743,10 @@ pluginInstanceOwner :: ~pluginInstanceOwner()
|
||||
if (nsnull != mInstance)
|
||||
{
|
||||
mInstance->Stop();
|
||||
mInstance->Destroy();
|
||||
nsCOMPtr<nsIPluginHost> host;
|
||||
host = do_GetService(kCPluginManagerCID);
|
||||
if(host)
|
||||
host->StopPluginInstance(mInstance);
|
||||
NS_RELEASE(mInstance);
|
||||
}
|
||||
|
||||
|
@ -743,7 +743,10 @@ pluginInstanceOwner :: ~pluginInstanceOwner()
|
||||
if (nsnull != mInstance)
|
||||
{
|
||||
mInstance->Stop();
|
||||
mInstance->Destroy();
|
||||
nsCOMPtr<nsIPluginHost> host;
|
||||
host = do_GetService(kCPluginManagerCID);
|
||||
if(host)
|
||||
host->StopPluginInstance(mInstance);
|
||||
NS_RELEASE(mInstance);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user