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
app.relaunch();
case 2:
app.exit();
app.quit();
break;
case 0:
default:
return;
//maybe set a timer and afterwards check responsivness and call function again if failed
}
});
}
module.exports.aDialog = showUnresponsiveDialog;