mirror of
https://github.com/discordjs/discord.js.git
synced 2024-08-21 16:14:42 +12:00
fix(Shard): don't pass event arguments to exit handler (#4957)
This commit is contained in:
parent
ed8b3cc9ea
commit
adf2e872f8
1 changed files with 1 additions and 1 deletions
|
@ -96,7 +96,7 @@ class Shard extends EventEmitter {
|
|||
* @type {Function}
|
||||
* @private
|
||||
*/
|
||||
this._exitListener = this._handleExit.bind(this);
|
||||
this._exitListener = this._handleExit.bind(this, undefined);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue