Skip to content

Commit

Permalink
remove listeners
Browse files Browse the repository at this point in the history
  • Loading branch information
billyvg committed Apr 24, 2023
1 parent 6f48751 commit de5607d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/replay/src/replay.ts
Original file line number Diff line number Diff line change
Expand Up @@ -562,7 +562,7 @@ export class ReplayContainer implements ReplayContainerInterface {
useCompression: this._options.useCompression,
});

// TODO: we should probably remove listeners before adding listeners
this._removeListeners();
this._addListeners();

// Need to set as enabled before we start recording, as `record()` can trigger a flush with a new checkout
Expand Down

0 comments on commit de5607d

Please sign in to comment.