destroy browserView webContents asynchronously
This commit is contained in:
parent
c68f41b8d8
commit
0476e2fd3d
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ void BrowserView::Init(v8::Isolate* isolate,
|
|||
}
|
||||
|
||||
BrowserView::~BrowserView() {
|
||||
api_web_contents_->DestroyWebContents();
|
||||
api_web_contents_->DestroyWebContents(true /* async */);
|
||||
}
|
||||
|
||||
// static
|
||||
|
|
Loading…
Reference in a new issue