From e05fe60e5c5335749fca562e27bf1dc6e5066d29 Mon Sep 17 00:00:00 2001 From: "Navy.gif" Date: Tue, 26 Mar 2024 17:31:33 +0200 Subject: [PATCH] bugfix --- src/middleware/Controller.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/middleware/Controller.ts b/src/middleware/Controller.ts index 20faef0..9828da4 100644 --- a/src/middleware/Controller.ts +++ b/src/middleware/Controller.ts @@ -86,6 +86,7 @@ class Controller extends EventEmitter // this.#shardingManager.on('message', this._handleMessage.bind(this)); process.on('SIGINT', this.shutdown.bind(this)); + process.on('SIGTERM', this.shutdown.bind(this)); } async build ()