cleanup unresponsiveDialog

This commit is contained in:
Araxeus
2021-04-14 13:42:39 +03:00
parent 09d9f72db2
commit c764d657d7

View File

@ -341,15 +341,11 @@ function showUnresponsiveDialog(win, details) {
case 1: //if relaunch - relaunch+exit case 1: //if relaunch - relaunch+exit
app.relaunch(); app.relaunch();
case 2: case 2:
app.exit(); app.quit();
break; break;
case 0: case 0:
default: default:
return; return;
//maybe set a timer and afterwards check responsivness and call function again if failed
} }
}); });
} }
module.exports.aDialog = showUnresponsiveDialog;