mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 788252 - Cleanup frame loader when aborting a recursive load in object/embed tags. r=josh
This commit is contained in:
parent
2e974374ef
commit
eaa4bc25cb
@ -1763,6 +1763,9 @@ nsObjectLoadingContent::LoadObject(bool aNotify,
|
||||
|
||||
rv = mFrameLoader->CheckForRecursiveLoad(mURI);
|
||||
if (NS_FAILED(rv)) {
|
||||
LOG(("OBJLC [%p]: Aborting recursive load", this));
|
||||
mFrameLoader->Destroy();
|
||||
mFrameLoader = nullptr;
|
||||
mType = eType_Null;
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user