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

[BUG] - Goroutine leaks when shutdown #837

Closed
apocelipes opened this issue Feb 26, 2025 · 0 comments · Fixed by #836
Closed

[BUG] - Goroutine leaks when shutdown #837

apocelipes opened this issue Feb 26, 2025 · 0 comments · Fixed by #836
Labels
bug Something isn't working

Comments

@apocelipes
Copy link
Contributor

Describe the bug

Image

To Reproduce

Appears randomly in unit tests.

One possible reason is that “s.exec.stopCh” has multiple receivers, but only sends the signal once, causing the receiver that doesn't get the signal to block permanently.

Expected behavior

No leaks.

@apocelipes apocelipes added the bug Something isn't working label Feb 26, 2025
apocelipes added a commit to apocelipes/gocron that referenced this issue Feb 26, 2025

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
@apocelipes apocelipes mentioned this issue Feb 26, 2025
2 tasks
apocelipes added a commit to apocelipes/gocron that referenced this issue Feb 26, 2025
JohnRoesler pushed a commit that referenced this issue Feb 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant