mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 719117 - Backout bug 724781. part 1/2, r=bsmedberg
This commit is contained in:
parent
0faa1d9ef7
commit
bc07b0a366
@ -2206,13 +2206,10 @@ nsObjectLoadingContent::StopPluginInstance()
|
||||
}
|
||||
#endif
|
||||
|
||||
// DoStopPlugin can process events and there may be pending InDocCheckEvent
|
||||
// events which can drop in underneath us and destroy the instance we are
|
||||
// about to destroy. Make sure this doesn't happen via this temp ref ptr and
|
||||
// the !mInstanceOwner check above.
|
||||
nsRefPtr<nsPluginInstanceOwner> instOwner = mInstanceOwner;
|
||||
DoStopPlugin(mInstanceOwner, delayedStop);
|
||||
|
||||
mInstanceOwner = nsnull;
|
||||
DoStopPlugin(instOwner, delayedStop);
|
||||
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user