Skip to content

Fix stream lingering issues due to using transport's group lock#4184

Merged
nanangizz merged 3 commits intomasterfrom
stream-own-grouplock
Nov 29, 2024
Merged

Fix stream lingering issues due to using transport's group lock#4184
nanangizz merged 3 commits intomasterfrom
stream-own-grouplock

Conversation

@nanangizz
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Member Author

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

…nd something after returning from callback which destroys the stream.
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