Skip to content

Commit

Permalink
events: set initial events count to 0
Browse files Browse the repository at this point in the history
  • Loading branch information
rluvaton committed May 13, 2024
1 parent 8758ff2 commit 190cb0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/internal/events/fast_event_emitter.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ function FastEventEmitter(eventEmitterTranslationLayer, _events) {
*/
FastEventEmitter.prototype._events = undefined;
FastEventEmitter.prototype[kShapeMode] = undefined;
FastEventEmitter.prototype._eventsCount = undefined;
FastEventEmitter.prototype._eventsCount = 0;
FastEventEmitter.prototype.eventEmitterTranslationLayer = undefined;

/**
Expand Down

0 comments on commit 190cb0d

Please sign in to comment.