Commit 96f91083 authored by Andrew Warnick's avatar Andrew Warnick Committed by Marshall Greenblatt
Browse files

Fix crash when a resource is cancelled due to browser closing (issue #2165)

parent e5ad5a8f
......@@ -53,6 +53,8 @@ void SendExecuteMimeTypeHandlerEvent(
web_contents = content::WebContents::FromRenderFrameHost(
content::RenderFrameHost::FromID(render_process_id, render_frame_id));
if (!web_contents)
CefRefPtr<CefBrowserHostImpl> browser =
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