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:
commit
bbf477291f
1 changed files with 0 additions and 2 deletions
|
@ -235,8 +235,6 @@ InspectableWebContentsImpl::InspectableWebContentsImpl(
|
||||||
}
|
}
|
||||||
|
|
||||||
InspectableWebContentsImpl::~InspectableWebContentsImpl() {
|
InspectableWebContentsImpl::~InspectableWebContentsImpl() {
|
||||||
if (devtools_web_contents_)
|
|
||||||
devtools_web_contents_->Close();
|
|
||||||
Observe(nullptr);
|
Observe(nullptr);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue