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: set ws's binary type to array buffer to avoid possible race condition #124

Merged
merged 1 commit into from Sep 23, 2023

Conversation

Enter-tainer
Copy link
Owner

possibly fix #119.

There is a race condition in current code. Messages comes from the server may comes out of order because of Promise.then

@Enter-tainer Enter-tainer changed the title set ws's binary type to array buffer to avoid possible race condition fix: set ws's binary type to array buffer to avoid possible race condition Sep 23, 2023
@Enter-tainer Enter-tainer merged commit f550bba into main Sep 23, 2023
22 checks passed
@Enter-tainer Enter-tainer deleted the mgt/fix-OoO-message branch September 23, 2023 16:33
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.

Preview panel becomes blank in v0.8.0
1 participant