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:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user