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>`
|
||||
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:
|
||||
|
||||
```html
|
||||
|
|
Loading…
Reference in a new issue