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

[Android] Fix race conditions in onCompletion and onError (This callback type only permits a single invocation from native code.) #154

Merged
merged 1 commit into from
Apr 25, 2017

Conversation

ndbroadbent
Copy link
Contributor

Fixes #106 - Illegal callback invocation from native module. This callback type only permits a single invocation from native code.

Inspired by: ivpusic/react-native-image-crop-picker#235

@henrikra
Copy link

Why this has not been merged already? We have got already 4 crashes because of this in 24 hours

@benvium benvium merged commit 5ed922d into zmxv:master Apr 25, 2017
@ndbroadbent
Copy link
Contributor Author

Hi @benvium, I'm sorry but this PR was actually not the full story. I was still experiencing a few crashes in my app (although not as many.)

I've added the missing fixes in #168

@ndbroadbent ndbroadbent deleted the fix-android-callback-crash branch May 20, 2017 17:43
aidan-doherty pushed a commit to aidan-doherty/react-native-sound that referenced this pull request Oct 26, 2020
This pull request was closed.
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.

3 participants