mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 08:03:30 +01:00
fix(Shard): don't pass event arguments to exit handler (#4957)
This commit is contained in:
committed by
GitHub
parent
ed8b3cc9ea
commit
adf2e872f8
@@ -96,7 +96,7 @@ class Shard extends EventEmitter {
|
||||
* @type {Function}
|
||||
* @private
|
||||
*/
|
||||
this._exitListener = this._handleExit.bind(this);
|
||||
this._exitListener = this._handleExit.bind(this, undefined);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user