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 condition when disposing tracks #1258

Merged
merged 1 commit into from
Jan 11, 2023
Merged

Conversation

saghul
Copy link
Member

@saghul saghul commented Dec 22, 2022

Make sure add/removeSink operations run in the WebRTC thread, so it's safe to dispose and not get an error when concurrently modifying the sinks container, which happens inside WebRTC.

Fixes: #1257

Make sure add/removeSink operations run in the WebRTC thread, so it's
safe to dispose and not get an error when concurrently modifying the
sinks container, which happens inside WebRTC.

Fixes: #1257
@8BallBomBom
Copy link
Member

Testing all good 👍🏻

@saghul
Copy link
Member Author

saghul commented Jan 11, 2023

Thank you!

@saghul saghul merged commit ef5d728 into master Jan 11, 2023
@saghul saghul deleted the android-fix-race branch January 11, 2023 08:51
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.

Crash when releasing the local stream on android
3 participants