-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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 an assorted list of goroutine leaks. #3074
Conversation
In all of these channel allocs multiple goroutines are executed and returned early in case of error. We don't wait for other goroutines to terminate while blocked on sending to the channel.
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.
Reviewable status: 0 of 3 files reviewed, all discussions resolved
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.
Reviewed 3 of 3 files at r1.
Reviewable status: complete! all files reviewed, all discussions resolved
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.
Reviewable status: complete! all files reviewed, all discussions resolved
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.
Nice! How did you figure these out?
Reviewed 3 of 3 files at r1.
Reviewable status: complete! all files reviewed, all discussions resolved
In all of these channel allocs multiple goroutines are executed and returned early in case of error. We don't wait for other goroutines to terminate while blocked on sending to the channel.
In all of these channel allocs multiple goroutines are executed and returned early in case of error. We don't wait for other goroutines to terminate while blocked on sending to the channel.
In all of these channel allocs multiple goroutines are executed and returned early
in case of error. We don't wait for other goroutines to terminate while blocked on
sending to the channel.
This change is