Closed ELchem closed 1 year ago
Patch coverage: 100.00
% and project coverage change: +0.01
:tada:
Comparison is base (
7be597c
) 92.44% compared to head (d2d5227
) 92.46%.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.
name: 'Unblock goPurge and goTicktock in defaultAntsPool' about: ants.Release() calls defaultAntsPool.Release() which leaves goPurge and goTicktock still running in the background. ants.Release() should close the context for goPurge and goTicktock. This can be accomplished by calling defaultAntsPool.ReleaseTimeout(). title: '' labels: '' assignees: ''
1. Are you opening this pull request for bug-fixs, optimizations or new feature?
new feature
2. Please describe how these code changes achieve your intention.
goPurge and goTicktock are left on the stack because there is no way to close those methods started by the defaultAntsPool. This PR should add a fix for that.
3. Please link to the relevant issues (if any).
https://github.com/panjf2000/ants/issues/244
4. Which documentation changes (if any) need to be made/updated because of this PR?
4. Checklist