From bace97c0f096e9d8d388055b7bc74b933611c6c0 Mon Sep 17 00:00:00 2001 From: Jan <26145882+imverum@users.noreply.github.com> Date: Sun, 27 Dec 2020 14:42:22 +0100 Subject: [PATCH] process.exit() --- index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/index.js b/index.js index f8039cf..8dae9fe 100644 --- a/index.js +++ b/index.js @@ -36,6 +36,7 @@ process.on('SIGINT', async () => { await client.destroy(); } catch(e) { logger.warn('Failed to destroy client'); + process.exit(); } logger.done('Logged out client, exiting.');