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 #1089

Merged
merged 1 commit into from
Feb 1, 2023
Merged

fix goroutine leak #1089

merged 1 commit into from
Feb 1, 2023

Conversation

mamil
Copy link
Contributor

@mamil mamil commented Feb 1, 2023

Card

Details

If the timer times out first, the sender will block because done has no receiver and is a unbuffered chan, causing the goroutine to leak.

@mamil mamil requested a review from a team as a code owner February 1, 2023 10:02
@moloch-- moloch-- merged commit 6f76dfa into BishopFox:master Feb 1, 2023
@mamil mamil deleted the fix-leak branch February 2, 2023 01:09
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.

3 participants