mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-11 10:31:47 +00:00
cleanup unresponsiveDialog
This commit is contained in:
6
index.js
6
index.js
@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user