Jacek Caban : mshtml: Moved remove_target_tasks to detach_inner_window.
Alexandre Julliard
julliard at winehq.org
Wed Oct 17 14:32:28 CDT 2012
Module: wine
Branch: master
Commit: 81e106cfa218ab09b9f7bb108546616bb6986ee2
URL: http://source.winehq.org/git/wine.git/?a=commit;h=81e106cfa218ab09b9f7bb108546616bb6986ee2
Author: Jacek Caban <jacek at codeweavers.com>
Date: Wed Oct 17 12:19:53 2012 +0200
mshtml: Moved remove_target_tasks to detach_inner_window.
---
dlls/mshtml/htmlwindow.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/mshtml/htmlwindow.c b/dlls/mshtml/htmlwindow.c
index 209a649..59b02ab 100644
--- a/dlls/mshtml/htmlwindow.c
+++ b/dlls/mshtml/htmlwindow.c
@@ -116,6 +116,7 @@ static void detach_inner_window(HTMLInnerWindow *window)
if(window->doc)
detach_events(window->doc);
abort_window_bindings(window);
+ remove_target_tasks(window->task_magic);
release_script_hosts(window);
window->base.outer_window = NULL;
@@ -233,7 +234,6 @@ static void release_inner_window(HTMLInnerWindow *This)
TRACE("%p\n", This);
detach_inner_window(This);
- remove_target_tasks(This->task_magic);
if(This->doc) {
This->doc->window = NULL;
More information about the wine-cvs
mailing list