mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
destroy browserView webContents asynchronously
This commit is contained in:
@@ -75,7 +75,7 @@ void BrowserView::Init(v8::Isolate* isolate,
|
||||
}
|
||||
|
||||
BrowserView::~BrowserView() {
|
||||
api_web_contents_->DestroyWebContents();
|
||||
api_web_contents_->DestroyWebContents(true /* async */);
|
||||
}
|
||||
|
||||
// static
|
||||
|
||||
Reference in New Issue
Block a user