close devtools web contents when available to trigger cleanup
This commit is contained in:
parent
b15123938c
commit
07c4f3563e
1 changed files with 2 additions and 0 deletions
|
@ -235,6 +235,8 @@ InspectableWebContentsImpl::InspectableWebContentsImpl(
|
|||
}
|
||||
|
||||
InspectableWebContentsImpl::~InspectableWebContentsImpl() {
|
||||
if (devtools_web_contents_)
|
||||
devtools_web_contents_->Close();
|
||||
Observe(nullptr);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue