browser: make destruction of webContents async
This commit is contained in:
parent
ca7ca3ba1c
commit
f974a6bda9
5 changed files with 21 additions and 9 deletions
|
@ -78,7 +78,7 @@ class WebContents : public mate::TrackableObject<WebContents>,
|
|||
v8::Local<v8::FunctionTemplate> prototype);
|
||||
|
||||
// Notifies to destroy any guest web contents before destroying self.
|
||||
void DestroyWebContents();
|
||||
void DestroyWebContents(bool async);
|
||||
|
||||
int64_t GetID() const;
|
||||
int GetProcessID() const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue