docs: responsiblity of destroying devtoolsWebContents
This commit is contained in:
parent
88c4fd3f2b
commit
52c6f4bcc5
1 changed files with 3 additions and 0 deletions
|
@ -1089,6 +1089,9 @@ with native view, which developers have very limited control of. With the
|
||||||
the devtools in it, including `BrowserWindow`, `BrowserView` and `<webview>`
|
the devtools in it, including `BrowserWindow`, `BrowserView` and `<webview>`
|
||||||
tag.
|
tag.
|
||||||
|
|
||||||
|
Note that closing the devtools does not destory the `devToolsWebContents`, it
|
||||||
|
is caller's responsibility to destroy `devToolsWebContents`.
|
||||||
|
|
||||||
An example of showing devtools in a `<webview>` tag:
|
An example of showing devtools in a `<webview>` tag:
|
||||||
|
|
||||||
```html
|
```html
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue