From 9ab9b392d6ce22fcba7fbf2f0bcf4418ef08080a Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Fri, 5 Jun 2015 12:34:54 +0800 Subject: [PATCH] Fix crash when quitting --- brightray/browser/inspectable_web_contents_impl.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/brightray/browser/inspectable_web_contents_impl.cc b/brightray/browser/inspectable_web_contents_impl.cc index 01f750ea02..3dfffccbfb 100644 --- a/brightray/browser/inspectable_web_contents_impl.cc +++ b/brightray/browser/inspectable_web_contents_impl.cc @@ -499,8 +499,6 @@ void InspectableWebContentsImpl::WebContentsDestroyed() { frontend_loaded_ = false; Observe(nullptr); Detach(); - agent_host_ = nullptr; - embedder_message_dispatcher_ = nullptr; for (const auto& pair : pending_requests_) delete pair.first;