try-catch console.timeEnd()
If user refreshes after renderer crashes, the this line throws an exception
This commit is contained in:
@@ -22,7 +22,7 @@ function init () {
|
||||
app.emit('ipcReady')
|
||||
setTimeout(function () {
|
||||
windows.main.show()
|
||||
console.timeEnd('init')
|
||||
try { console.timeEnd('init') } catch (err) {}
|
||||
}, 50)
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user