-
Notifications
You must be signed in to change notification settings - Fork 8
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
iterator method of treeSet has goroutine leaks #52
Comments
zonewave
pushed a commit
to zonewave/go-set
that referenced
this issue
Apr 30, 2023
1. use goleak 2. infix: add bool to return param of visit 3, iterate: add context to control
zonewave
pushed a commit
to zonewave/go-set
that referenced
this issue
Apr 30, 2023
1. use goleak 2. infix: add bool to return param of visit 3, iterate: add context to control
zonewave
pushed a commit
to zonewave/go-set
that referenced
this issue
May 1, 2023
1. use goleak 2. infix: add bool to return param of visit 3, iterate: add context to control
Good catch, I had been thinking about ways to iterate 2 trees (for the If we could eliminate the use of goroutines though, that would be even better! |
shoenig
pushed a commit
that referenced
this issue
May 1, 2023
1. use goleak 2. infix: add bool to return param of visit 3, iterate: add context to control
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I use "goleak" to detector leak:
if not iter all node, the channel will block
The text was updated successfully, but these errors were encountered: