-
-
Notifications
You must be signed in to change notification settings - Fork 18
Thread safety #397
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
Comments
I will investigate it |
Thanks for your vigilance! |
@maciejmakowski2003 I'm not sure but this could the reason our app crash in the release mode. I ported over our api from expo-av to react-native-audio-api and everything works seemlessly in the debug app but when I test it on the release app, it insta crashes as soon as I call ![]() And here is the sentry log of the crash ![]() |
@orange4glace, we've tried to add locks (#457) also in |
Uh oh!
There was an error while loading. Please reload this page.
Feature Request
I think RNAPI needs to be more thread safe, for example,
Things like
AudioParam.eventsQueue_
can be accessed on both JS thread and Audio thread,so changing param value while playing audio might cause crash.
(Correct me if I'm wrong)
The text was updated successfully, but these errors were encountered: