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
[7.1.4] Android null pointer exception #549
Labels
bug
Something isn't working
Comments
Also, the two crashes I received a report like this, were from an app fully in background started in headless. |
cristianoccazinsp
pushed a commit
to cristianoccazinsp/react-native-netinfo
that referenced
this issue
Dec 9, 2021
Make sure we use a final reference to the instance variables in case they are modified in another callback while being used.
cristianoccazinsp
pushed a commit
to cristianoccazinsp/react-native-netinfo
that referenced
this issue
Dec 9, 2021
Make sure we use a final reference to the instance variables in case they are modified in another callback while being used.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Environment
Platforms
Android
Versions
Description
#547 introduced a null pointer exception.
This is most likely related to two threads modifying the instance variables while the code is running.
Reproducible Demo
The text was updated successfully, but these errors were encountered: