fix: crash in BrowserWindow destructor after win.webContents.destroy() (#18686)
This commit is contained in:
parent
da58ac7c20
commit
6e327184bd
4 changed files with 17 additions and 7 deletions
|
@ -116,7 +116,7 @@ class BrowserWindow : public TopLevelWindow,
|
|||
#endif
|
||||
|
||||
v8::Global<v8::Value> web_contents_;
|
||||
api::WebContents* api_web_contents_;
|
||||
base::WeakPtr<api::WebContents> api_web_contents_;
|
||||
|
||||
base::WeakPtrFactory<BrowserWindow> weak_factory_;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue