diff --git a/cache.go b/cache.go index 2b9a1d51..8d791b42 100644 --- a/cache.go +++ b/cache.go @@ -366,6 +366,7 @@ func (c *Cache) Close() { close(c.stop) close(c.setBuf) c.policy.Close() + c.cleanupTicker.Stop() c.isClosed = true }