chore: formally deprecate gpu-process-crashed
event (#40169)
This commit is contained in:
parent
592a30aa0b
commit
344f8fd384
1 changed files with 13 additions and 0 deletions
|
@ -103,6 +103,19 @@ win.webContents.on('render-process-gone', (event, details) => { /* ... */ })
|
||||||
webview.addEventListener('render-process-gone', (event) => { /* ... */ })
|
webview.addEventListener('render-process-gone', (event) => { /* ... */ })
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Deprecated: `gpu-process-crashed` event on `app`
|
||||||
|
|
||||||
|
The `gpu-process-crashed` event on `app` has been deprecated.
|
||||||
|
Use the new `child-process-gone` event instead.
|
||||||
|
|
||||||
|
```js
|
||||||
|
// Deprecated
|
||||||
|
app.on('gpu-process-crashed', (event, killed) => { /* ... */ })
|
||||||
|
|
||||||
|
// Replace with
|
||||||
|
app.on('child-process-gone', (event, details) => { /* ... */ })
|
||||||
|
```
|
||||||
|
|
||||||
## Planned Breaking API Changes (27.0)
|
## Planned Breaking API Changes (27.0)
|
||||||
|
|
||||||
### Removed: macOS 10.13 / 10.14 support
|
### Removed: macOS 10.13 / 10.14 support
|
||||||
|
|
Loading…
Add table
Reference in a new issue