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 goroutine leak when test with an empty node list #190

Merged
merged 1 commit into from
Oct 10, 2024

Conversation

xuxiaofan1203
Copy link

Node isn't added to configuration in these test cases. So n.cancel() can't be called to awaken the <-c.parentCtx.Done(), which results in goroutines leak. So the node should be closed manually to avoid goroutines leak.

@meling meling linked an issue Oct 10, 2024 that may be closed by this pull request
@meling meling merged commit def9894 into relab:master Oct 10, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

A potential goroutine leak in gorums /channel.go
2 participants