fix(Shard): don't pass event arguments to exit handler (#4957)

This commit is contained in:
Matt (IPv4) Cowley 2020-11-01 11:29:29 +00:00 committed by GitHub
parent ed8b3cc9ea
commit adf2e872f8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -96,7 +96,7 @@ class Shard extends EventEmitter {
* @type {Function}
* @private
*/
this._exitListener = this._handleExit.bind(this);
this._exitListener = this._handleExit.bind(this, undefined);
}
/**