Skip to content

Commit

Permalink
Update packages/rrweb/src/record/observer.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Justin Halsall <Juice10@users.noreply.github.com>
  • Loading branch information
eoghanmurray and Juice10 authored Oct 13, 2023
1 parent f118d93 commit 4295db1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/rrweb/src/record/observer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1321,9 +1321,7 @@ export function initObservers(

return callbackWrapper(() => {
mutationBuffers.forEach((b) => b.reset());
if (mutationObserver) {
mutationObserver.disconnect();
}
mutationObserver?.disconnect();
mousemoveHandler();
mouseInteractionHandler();
scrollHandler();
Expand Down

0 comments on commit 4295db1

Please sign in to comment.