Merge pull request #282 from electron/revert-278-devtools_shutdown_patch

Revert "close devtools web contents when available to trigger cleanup"
This commit is contained in:
Kevin Sawicki 2017-03-17 09:37:04 -07:00 committed by GitHub
commit bbf477291f

View file

@ -235,8 +235,6 @@ InspectableWebContentsImpl::InspectableWebContentsImpl(
}
InspectableWebContentsImpl::~InspectableWebContentsImpl() {
if (devtools_web_contents_)
devtools_web_contents_->Close();
Observe(nullptr);
}