From 079a0ea840d9b1a37aa26f1734814cd24e016a64 Mon Sep 17 00:00:00 2001 From: Hri7566 Date: Thu, 7 Jul 2022 20:42:03 -0400 Subject: [PATCH] fix sigint --- index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/index.js b/index.js index 841b85b..d10b9c7 100644 --- a/index.js +++ b/index.js @@ -24,4 +24,5 @@ process.on('SIGINT', async () => { if (!db.isClosed()) { await db.close(); } + process.exit(); });