destroy browserView webContents asynchronously

This commit is contained in:
deepak1556 2017-04-19 22:07:12 +05:30 committed by Cheng Zhao
parent c68f41b8d8
commit 0476e2fd3d

View file

@ -75,7 +75,7 @@ void BrowserView::Init(v8::Isolate* isolate,
}
BrowserView::~BrowserView() {
api_web_contents_->DestroyWebContents();
api_web_contents_->DestroyWebContents(true /* async */);
}
// static