From 04cdccc8f6fbd75fe1ebd41675b165fbc46f65d6 Mon Sep 17 00:00:00 2001 From: capitanwesler Date: Fri, 22 Jan 2021 18:49:14 +0000 Subject: [PATCH] Commiting Branch for improving the existing API --- src/index.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/index.js b/src/index.js index e57e57b..2187fe4 100644 --- a/src/index.js +++ b/src/index.js @@ -13,6 +13,8 @@ function shutdown() { process.exit(); } +// @TESTING + process.on('SIGINT', shutdown); process.on('SIGQUIT', shutdown); process.on('SIGTERM', shutdown);