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

Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
This commit is contained in:
Gabriel Ivăncescu 2023-03-08 19:36:06 +02:00 committed by Alexandre Julliard
parent c3529d6bd7
commit b7d75c9dcb

View file

@ -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))
return super_navigate(window, uri, flags, headers, post_data, post_data_len);
}