Module: wine Branch: master Commit: 355b9b660585b2bccdc6ad0ac06a1ff8e589588f URL: http://source.winehq.org/git/wine.git/?a=commit;h=355b9b660585b2bccdc6ad0ac0...
Author: Jacek Caban jacek@codeweavers.com Date: Sat Mar 13 16:42:45 2010 +0100
mshtml: Ignore EndLoad call if document is already detached.
---
dlls/mshtml/mutation.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/dlls/mshtml/mutation.c b/dlls/mshtml/mutation.c index 61ceca8..a794204 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;