Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
util: fix a resource leak bug about mpsc::batch (#5566) #5567
cherry-pick #5566 to release-3.0
Signed-off-by: qupeng firstname.lastname@example.org
What have you changed?
Fix a potential resourse leak bug.
What is the type of the changes?
How is the PR tested?
Please select the tests that you ran to verify your changes:
Previously we only test the channel in multi threads, so the bug is very hard to produce. Now we add a case which polls the receiver in