Skip to content

Commit

Permalink
fix: Clear pending events buffer when registered.
Browse files Browse the repository at this point in the history
  • Loading branch information
kinyoklion committed Jan 13, 2025
1 parent 7f5c275 commit 86f3e70
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ export default class BrowserTelemetryImpl implements BrowserTelemetry {
this._pendingEvents.forEach((event) => {
this._client?.track(event.type, event.data);
});
this._pendingEvents = [];
}

inspectors(): LDInspection[] {
Expand Down

0 comments on commit 86f3e70

Please sign in to comment.