Skip to content

Commit de5607d

Browse files
committed
remove listeners
1 parent 6f48751 commit de5607d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/replay/src/replay.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -562,7 +562,7 @@ export class ReplayContainer implements ReplayContainerInterface {
562562
useCompression: this._options.useCompression,
563563
});
564564

565-
// TODO: we should probably remove listeners before adding listeners
565+
this._removeListeners();
566566
this._addListeners();
567567

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

0 commit comments

Comments
 (0)