development #7
@ -86,6 +86,7 @@ class Controller extends EventEmitter
|
|||||||
// this.#shardingManager.on('message', this._handleMessage.bind(this));
|
// this.#shardingManager.on('message', this._handleMessage.bind(this));
|
||||||
|
|
||||||
process.on('SIGINT', this.shutdown.bind(this));
|
process.on('SIGINT', this.shutdown.bind(this));
|
||||||
|
process.on('SIGTERM', this.shutdown.bind(this));
|
||||||
}
|
}
|
||||||
|
|
||||||
async build ()
|
async build ()
|
||||||
|
Loading…
Reference in New Issue
Block a user