Fixing 76116 -- crash on File->Exit with plugin on page, ra=av, sr=waterson

git-svn-id: svn://10.0.0.236/trunk@92442 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
av%netscape.com
2001-04-16 21:26:28 +00:00
parent 84090fa2c8
commit 85fcba7f70
2 changed files with 8 additions and 0 deletions

View File

@@ -2412,6 +2412,10 @@ NS_IMETHODIMP nsPluginHostImpl::Destroy(void)
mIsDestroyed = PR_TRUE;
// we should call nsIPluginInstance::Stop and nsIPluginInstance::SetWindow
// for those plugins who want it
mActivePluginList.stopRunning();
// at this point nsIPlugin::Shutdown calls will be performed if needed
mActivePluginList.shut();