From fe5ce7120eb59812b5808964aea8d5d74e523f2f Mon Sep 17 00:00:00 2001 From: Piotr Caban Date: Mon, 31 Jan 2011 20:28:23 +0100 Subject: [PATCH] mshtml: Make sure previous request is stopped before starting new request in IPersistMoniker and IPersistStreamInit. --- dlls/mshtml/persist.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dlls/mshtml/persist.c b/dlls/mshtml/persist.c index cb2eeee792..d10b353c0e 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)) -- 2.33.8