Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
stop cleanupTicker while closing cache (#343)
## Problem `cleanupTicker `that is created in `NewCache` is never stopped, which is why the code below causes a memory leak ```go for { c, _ := NewCache(...) c.Close() } ``` ## Solution Stop `cleanupTicker` in `Close` method
- Loading branch information