mirror of
https://github.com/danbulant/discord.js
synced 2026-06-23 08:42:02 +00: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