Merge branch 'master' of github.com:jooy2/vutron
This commit is contained in:
commit
40e35742e7
1 file changed
+4
@@ -30,3 +30,7 @@ app.on('window-all-closed', () => {
|
|||||||
app.on('render-process-gone', (ev, webContents, details) => {
|
app.on('render-process-gone', (ev, webContents, details) => {
|
||||||
errorWindow = createErrorWindow(errorWindow, mainWindow, details)
|
errorWindow = createErrorWindow(errorWindow, mainWindow, details)
|
||||||
})
|
})
|
||||||
|
|
||||||
|
process.on('uncaughtException', () => {
|
||||||
|
errorWindow = createErrorWindow(errorWindow, mainWindow)
|
||||||
|
})
|
||||||
Reference in new issue
Block a user