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 stream lingering issues due to using transport's group lock #4184

Merged
merged 3 commits into from
Nov 29, 2024

Conversation

nanangizz
Copy link
Member

@nanangizz nanangizz commented Nov 28, 2024

To fix #3970 (comment) by using its own group lock instead of transport's group lock.

Also, maintain ref to transport just in case stream still tries to send something after returning from callback which has just destroyed the stream.

Copy link
Member

@sauwming sauwming left a comment

Choose a reason for hiding this comment

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

Pls make sure that this doesn't cause issue #3956 to reappear. Thx.

@nanangizz
Copy link
Member Author

Tested with both scenarios: #3956 & #3970 (comment), looks fine.

…nd something after returning from callback which destroys the stream.
@nanangizz nanangizz merged commit af4c828 into master Nov 29, 2024
36 checks passed
@nanangizz nanangizz deleted the stream-own-grouplock branch November 29, 2024 09:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants