Commit b7d75c9d authored by Gabriel Ivăncescu's avatar Gabriel Ivăncescu Committed by Alexandre Julliard

mshtml: Check if browser was detached during notifications while navigating.

parent c3529d6b
...@@ -2559,6 +2559,9 @@ static HRESULT navigate_uri(HTMLOuterWindow *window, IUri *uri, const WCHAR *dis ...@@ -2559,6 +2559,9 @@ static HRESULT navigate_uri(HTMLOuterWindow *window, IUri *uri, const WCHAR *dis
} }
} }
if(!window->browser)
return S_OK;
if(is_main_content_window(window)) if(is_main_content_window(window))
return super_navigate(window, uri, flags, headers, post_data, post_data_len); return super_navigate(window, uri, flags, headers, post_data, post_data_len);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment