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

Fix frozen video due to double call to Consumer::UserOnTransportDisconnected() #788

Conversation

ibc
Copy link
Member

@ibc ibc commented Mar 7, 2022

Rationale given here: #787 (comment)

We always check flags and return fast if the flag was already set (or unset, it depends), then we set or unset the flag and run code. Here we failed and didn't honor this pattern.

…nnected()

Rationale given here: #787 (comment)

We always check flags and return fast if the flag was already set (or unset, it depends), then we set or unset the flag and run code. Here we failed and didn't honor this pattern.
@ibc ibc requested a review from jmillan March 7, 2022 17:26
@ibc
Copy link
Member Author

ibc commented Mar 7, 2022

If merged we must close PR #787.

@ibc ibc merged commit a24f0ec into v3 Mar 7, 2022
@ibc ibc deleted the fix-frozen-video-due-to-uncontrolled-double-call-to-consumer-userontransportconnected branch March 7, 2022 17:40
@ibc
Copy link
Member Author

ibc commented Mar 7, 2022

Published in 3.9.9

Copy link
Member

@jmillan jmillan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants