Browse Source

docs: responsiblity of destroying devtoolsWebContents

Cheng Zhao 7 years ago
parent
commit
52c6f4bcc5
1 changed files with 3 additions and 0 deletions
  1. 3 0
      docs/api/web-contents.md

+ 3 - 0
docs/api/web-contents.md

@@ -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