From 355b9b660585b2bccdc6ad0ac06a1ff8e589588f Mon Sep 17 00:00:00 2001 From: Jacek Caban Date: Sat, 13 Mar 2010 16:42:45 +0100 Subject: [PATCH] mshtml: Ignore EndLoad call if document is already detached. --- dlls/mshtml/mutation.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dlls/mshtml/mutation.c b/dlls/mshtml/mutation.c index 61ceca83525..a7942043557 100644 --- a/dlls/mshtml/mutation.c +++ b/dlls/mshtml/mutation.c @@ -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; -- 2.11.4.GIT