fix: segfault on webContents.fromId(xxx) (#26651)

Co-authored-by: Jeremy Rose <nornagon@nornagon.net>
This commit is contained in:
trop[bot]
2020-11-24 16:12:53 -05:00
committed by GitHub
parent 46441c1bd7
commit c9801ab5a5
3 changed files with 15 additions and 2 deletions

View File

@@ -42,7 +42,8 @@ returns `null`.
* `id` Integer
Returns `WebContents` - A WebContents instance with the given ID.
Returns `WebContents` | undefined - A WebContents instance with the given ID, or
`undefined` if there is no WebContents associated with the given ID.
## Class: WebContents