We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fa2acba commit 1255bc5Copy full SHA for 1255bc5
1 file changed
src/ui/main/rootWindow.ts
@@ -527,7 +527,13 @@ export const showRootWindow = async (): Promise<void> => {
527
browserWindow.webContents.on(
528
'render-process-gone',
529
async (_event, details) => {
530
- if (details.reason === 'clean-exit') {
+ const crashReasons = [
531
+ 'crashed',
532
+ 'oom',
533
+ 'abnormal-exit',
534
+ 'launch-failed',
535
+ ];
536
+ if (!crashReasons.includes(details.reason)) {
537
return;
538
}
539
0 commit comments