Add killed argument for webContents.on("crashed") and app.on("gpu-process-crashed") events

This commit is contained in:
Milan Burda 2016-09-17 17:00:45 -07:00
parent d4b204799d
commit 8567f79e67
5 changed files with 17 additions and 6 deletions

View file

@ -280,7 +280,12 @@ app.on('login', (event, webContents, request, authInfo, callback) => {
### Event: 'gpu-process-crashed'
Emitted when the gpu process crashes.
Returns:
* `event` Event
* `killed` Boolean
Emitted when the gpu process crashes or is killed.
### Event: 'accessibility-support-changed' _macOS_ _Windows_