This commit is contained in:
av%netscape.com 2000-08-07 21:51:19 +00:00
Родитель 22fb378e7d
Коммит 0ff6c8206b
2 изменённых файлов: 8 добавлений и 2 удалений

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

@ -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);
}