| Index: Source/core/frame/LocalFrame.cpp
|
| diff --git a/Source/core/frame/LocalFrame.cpp b/Source/core/frame/LocalFrame.cpp
|
| index df30e7ce232b3722c107339e01bb6b01a59e377c..efa8c40b47e6976d713c068dc4dd96e86d694749 100644
|
| --- a/Source/core/frame/LocalFrame.cpp
|
| +++ b/Source/core/frame/LocalFrame.cpp
|
| @@ -270,10 +270,10 @@ void LocalFrame::detach()
|
| // will trigger the unload event handlers of any child frames, and those event
|
| // handlers might start a new subresource load in this frame.
|
| m_loader.stopAllLoaders();
|
| + m_loader.detach();
|
| if (!client())
|
| return;
|
|
|
| - m_loader.detach();
|
| // Notify ScriptController that the frame is closing, since its cleanup ends up calling
|
| // back to FrameLoaderClient via WindowProxy.
|
| script().clearForClose();
|
|
|