Commit 355b9b66 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

mshtml: Ignore EndLoad call if document is already detached.

parent 92ff4bb7
......@@ -338,6 +338,9 @@ static void handle_end_load(HTMLDocumentNode *This)
TRACE("\n");
if(!This->basedoc.doc_obj)
return;
if(This != This->basedoc.doc_obj->basedoc.doc_node) {
set_ready_state(This->basedoc.window, READYSTATE_INTERACTIVE);
return;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment