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: fix a race condition when downloading files #7

Merged
merged 1 commit into from
Nov 25, 2024

Conversation

itsramiel
Copy link
Owner

Summary

When download a remote file(local file but in dev mode from metro), the files are being downloaded to the same file which when loading files at the same time could lead to one sound writing over the other and getting unexpected behaviour.

To fix it, I am downloading the sounds to unique file names

@itsramiel itsramiel merged commit e684f16 into main Nov 25, 2024
1 of 2 checks passed
@itsramiel itsramiel deleted the fix/race-condition branch November 25, 2024 17:26
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.

1 participant