chore: remove deprecated crashed
and renderer-process-crashed
events (#40115)
This commit is contained in:
parent
09bab60a9e
commit
657e88b173
10 changed files with 36 additions and 93 deletions
|
@ -665,10 +665,6 @@ WebContents.prototype._init = function () {
|
|||
ipcMain.emit(channel, event, message);
|
||||
});
|
||||
|
||||
deprecate.event(this, 'crashed', 'render-process-gone', (event: Electron.Event, details: Electron.RenderProcessGoneDetails) => {
|
||||
return [event, details.reason === 'killed'];
|
||||
});
|
||||
|
||||
this.on('render-process-gone', (event, details) => {
|
||||
app.emit('render-process-gone', event, this, details);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue