Skip to content

Commit adf2e87

Browse files
authored
fix(Shard): don't pass event arguments to exit handler (#4957)
1 parent ed8b3cc commit adf2e87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sharding/Shard.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ class Shard extends EventEmitter {
9696
* @type {Function}
9797
* @private
9898
*/
99-
this._exitListener = this._handleExit.bind(this);
99+
this._exitListener = this._handleExit.bind(this, undefined);
100100
}
101101

102102
/**

0 commit comments

Comments
 (0)