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

This commit is contained in:
Piotr Caban 2011-01-31 20:28:23 +01:00 committed by Alexandre Julliard
parent 5541b7d13b
commit fe5ce7120e
1 changed files with 3 additions and 0 deletions

View File

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