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 an incorrected finish which halted playback prematurely #606

Merged

Conversation

eoghanmurray
Copy link
Contributor

The scenario was that there were events being rapidly added to the recording.

I could only recreate it happening in this setTimeout/mousemove code path, but can't see why it wouldn't also apply to the non setTimeout call to finish();:

Just wanted to check I'm missing something;

Should the approach instead be to restart the requestAnimationFrame timer after an addEvent on a finished replay?

…ario was that there were events being rapidly added to the recording.
@Yuyz0112 Yuyz0112 merged commit c1158d8 into rrweb-io:master Jun 30, 2021
eoghanmurray referenced this pull request Jul 2, 2021
…is finished (#445)

plus: fix the problem that sometimes return value of getCurrentTime() is negative
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