Fix crash when quitting

This commit is contained in:
Cheng Zhao 2015-06-05 12:34:54 +08:00
parent 44ba4e87aa
commit 9ab9b392d6

View file

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