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

@ -203,7 +203,12 @@ are clicked or when the DOM `hashchange` event is triggered.
#### Event: 'crashed'
Emitted when the renderer process has crashed.
Returns:
* `event` Event
* `killed` Boolean
Emitted when the renderer process crashes or is killed.
#### Event: 'plugin-crashed'