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 in deadline #24

Merged
merged 1 commit into from
Jul 16, 2019
Merged

Fix goroutine leak in deadline #24

merged 1 commit into from
Jul 16, 2019

Conversation

eapache
Copy link
Owner

@eapache eapache commented Jul 15, 2019

If the deadline timed out then the worker goroutine might have been
leaked trying to write to result which had no readers.

Fixes #23.

@evolsnow please let me know if you see any issues with this fix.

If the deadline timed out then the worker goroutine might have been
leaked trying to write to `result` which had no readers.
@eapache eapache merged commit b98ce28 into master Jul 16, 2019
@eapache eapache deleted the deadline-goroutine-leak branch July 16, 2019 14:30
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.

goroutine leak in Deadline.Run
1 participant