Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: clean-up the rate sequence goroutines to avoid leaking (#142)
As stated on Ticker.Stop: Stop does not close the channel, to prevent a concurrent goroutine reading from the channel from seeing an erroneous "tick". This sole fact prevents the goroutine from exiting, and in result, causes a leak that is especially problematic when the project is used as through an API and not a CLI.
- Loading branch information