Piotr Caban : mshtml: Make sure previous request is stopped before starting new request in IPersistMoniker and IPersistStreamInit .

Alexandre Julliard julliard at winehq.org
Tue Feb 1 12:24:57 CST 2011


Module: wine
Branch: master
Commit: fe5ce7120eb59812b5808964aea8d5d74e523f2f
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=fe5ce7120eb59812b5808964aea8d5d74e523f2f

Author: Piotr Caban <piotr at codeweavers.com>
Date:   Mon Jan 31 20:28:23 2011 +0100

mshtml: Make sure previous request is stopped before starting new request in IPersistMoniker and IPersistStreamInit.

---

 dlls/mshtml/persist.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/dlls/mshtml/persist.c b/dlls/mshtml/persist.c
index cb2eeee..d10b353 100644
--- a/dlls/mshtml/persist.c
+++ b/dlls/mshtml/persist.c
@@ -257,6 +257,9 @@ HRESULT set_moniker(HTMLDocument *This, IMoniker *mon, IBindCtx *pibc, nsChannel
 
     if(SUCCEEDED(hres))
     {
+        remove_target_tasks(This->task_magic);
+        abort_document_bindings(This->doc_node);
+
         hres = load_nsuri(This->window, nsuri, bscallback, LOAD_INITIAL_DOCUMENT_URI);
         nsISupports_Release((nsISupports*)nsuri); /* FIXME */
         if(SUCCEEDED(hres))




More information about the wine-cvs mailing list