-
Notifications
You must be signed in to change notification settings - Fork 113
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
[close #619] Shutdown recycler when closing ChannelFactory to avoid resource leak #618
Conversation
Signed-off-by: Daemonxiao <[email protected]>
Codecov Report
@@ Coverage Diff @@
## master #618 +/- ##
============================================
- Coverage 34.72% 34.67% -0.06%
+ Complexity 1425 1423 -2
============================================
Files 278 278
Lines 17354 17356 +2
Branches 1972 1972
============================================
- Hits 6027 6018 -9
- Misses 10713 10735 +22
+ Partials 614 603 -11
Continue to review full report at Codecov.
|
@Daemonxiao Could you create an issue with this pull request? The PR title checker will check if the PR is related to an issue. |
Signed-off-by: Daemonxiao <[email protected]> Co-authored-by: iosmanthus <[email protected]>
The tests for |
/hold |
Signed-off-by: Daemonxiao <[email protected]> Co-authored-by: iosmanthus <[email protected]>
Signed-off-by: Daemonxiao <[email protected]> Co-authored-by: iosmanthus <[email protected]>
@zhangyangyu, Thanks for your review. The bot only counts LGTMs from Reviewers and higher roles, but you're still welcome to leave your comments. You are not a reviewer or committer or co-leader or leader. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Signed-off-by: ti-srebot <[email protected]>
cherry pick to release-3.3 in PR #621 |
…esource leak (#618) (#621) Co-authored-by: Daemonxiao <[email protected]>
Signed-off-by: Daemonxiao [email protected]
What problem does this PR solve?
Issue Number: close #619
Because the
recycler
inChannelFactory
does not set any task when TLS is turned off, the process will get stuck on exit.What is changed and how does it work?
When we don't use TLS,
recycler
should benull
.Code changes
Side effects
Related changes