Skip to content

fix IllegalStateException #836

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Irfanwani
Copy link

NOTE: This change is not properly tested.

PR explanation:
I was getting IllegalStateException from the this line of code Looper.myLooper().quit(); which mostly occured because Looper.myLooper was null.

Added a condition to check if Looper.myLooper is not null, then only call quit method.

@jbavay
Copy link

jbavay commented Mar 12, 2025

Hi, look also at this PR https://github.com/react-native-webrtc/react-native-callkeep/pull/825/files that could tackle other issues around the looper.

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.

2 participants