mshtml: Ignore EndLoad call if document is already detached.

This commit is contained in:
Jacek Caban 2010-03-13 16:42:45 +01:00 committed by Alexandre Julliard
parent 92ff4bb7c2
commit 355b9b6605

View File

@ -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;