From c764d657d74fc5d85d0410ec1115d42e84bdc7df Mon Sep 17 00:00:00 2001 From: Araxeus Date: Wed, 14 Apr 2021 13:42:39 +0300 Subject: [PATCH] cleanup unresponsiveDialog --- index.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/index.js b/index.js index addd98ed..13eaa2db 100644 --- a/index.js +++ b/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; -