Open chetan-187 opened 1 week ago
rrweb
rrweb@2.0.0-alpha.17
The message listeners should get cleared, if the recording is started after stopping. Since all observers and listeners gets cleared
The message listener of iframe gets added after stop and recording again.
No response
Can this be solved by making IframeManager a singleton class and removing the message handler before initializing new one?
Preflight Checklist
What package is this bug report for?
rrweb
Version
rrweb@2.0.0-alpha.17
Expected Behavior
The message listeners should get cleared, if the recording is started after stopping. Since all observers and listeners gets cleared
Actual Behavior
The message listener of iframe gets added after stop and recording again.
Steps to Reproduce
Testcase Gist URL
No response
Additional Information
No response