зеркало из https://github.com/mozilla/pjs.git
Fixing 47360, patch by sean@beatnik.com, r=av
This commit is contained in:
Родитель
d149145bf8
Коммит
d2ad978324
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче