Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(rrweb): Do not re-initialize worker in CanvasManager.reset #221

Merged
merged 1 commit into from
Oct 31, 2024

Conversation

billyvg
Copy link
Member

@billyvg billyvg commented Oct 29, 2024

reset() gets called when we stop a recording in progress. There is no reason to re-initialize the worker in reset() as you would need to call record() to start recording again, which would start a new worker. This was introduced in #168.

`reset()` gets called when we stop a recording in progress. There is no reason to re-initialize the worker in `reset()` as you would need to call `record()` to start recording again, which would start a new worker. This was introduced in #168.
@billyvg billyvg marked this pull request as ready for review October 29, 2024 21:27
@billyvg billyvg requested a review from a team October 29, 2024 21:27
@billyvg billyvg merged commit d79bbf2 into sentry-v2 Oct 31, 2024
16 checks passed
@billyvg billyvg deleted the feat-do-not-restart-workers-in-reset branch October 31, 2024 15:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants