mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Fix bug 401393, leak and assertion with Flash if Greasemonkey is installed. r=sicking, sr=jst, a=blocking1.9.
This commit is contained in:
parent
f46ce4ead5
commit
8cc395f83d
@ -3527,12 +3527,8 @@ nsPluginInstanceOwner::Destroy()
|
||||
void
|
||||
nsPluginInstanceOwner::PrepareToStop(PRBool aDelayedStop)
|
||||
{
|
||||
if (!mWidget) {
|
||||
return;
|
||||
}
|
||||
|
||||
#ifdef XP_WIN
|
||||
if (aDelayedStop) {
|
||||
if (aDelayedStop && mWidget) {
|
||||
// To delay stopping a plugin we need to reparent the plugin
|
||||
// so that we can safely tear down the
|
||||
// plugin after its frame (and view) is gone.
|
||||
|
Loading…
Reference in New Issue
Block a user