ElectronApp.on('renderer-process-crashed') method
ElectronApp › on(‘renderer-process-crashed’)
Unofficial
Registers a listener for therenderer-process-crashed event.Emitted when the renderer process of
webContents crashes or is killed.Signature:
on($event: "renderer-process-crashed", listener: ($event: ElectronEvent, webContents: ElectronWebContents, killed: boolean) => void): thisParameters:
| Parameter | Type | Description |
|---|---|---|
| $event | "renderer-process-crashed" | |
| listener | ($event: ElectronEvent, webContents: ElectronWebContents, killed: boolean) => void | The event handler. |
Returns: this — This ElectronApp instance.