Skip to content

Commit

Permalink
fix(Shard): don't pass event arguments to exit handler (#4957)
Browse files Browse the repository at this point in the history
  • Loading branch information
MattIPv4 authored Nov 1, 2020
1 parent ed8b3cc commit adf2e87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sharding/Shard.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ class Shard extends EventEmitter {
* @type {Function}
* @private
*/
this._exitListener = this._handleExit.bind(this);
this._exitListener = this._handleExit.bind(this, undefined);
}

/**
Expand Down

0 comments on commit adf2e87

Please sign in to comment.