Remove crashed event forwarding
This commit is contained in:
parent
56cd57872c
commit
7685380105
1 changed files with 0 additions and 5 deletions
|
@ -43,11 +43,6 @@ BrowserWindow.prototype._init = function () {
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
// Forward the crashed event.
|
|
||||||
this.webContents.on('crashed', () => {
|
|
||||||
this.emit('crashed')
|
|
||||||
})
|
|
||||||
|
|
||||||
// Change window title to page title.
|
// Change window title to page title.
|
||||||
this.webContents.on('page-title-updated', (event, title) => {
|
this.webContents.on('page-title-updated', (event, title) => {
|
||||||
// The page-title-updated event is not emitted immediately (see #3645), so
|
// The page-title-updated event is not emitted immediately (see #3645), so
|
||||||
|
|
Loading…
Reference in a new issue