We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
doCleanup
ttlcache.Cache
1 parent 1f4fabb commit 2273652Copy full SHA for 2273652
1 file changed
internal/ttlcache/ttlcache.go
@@ -111,6 +111,7 @@ func (c *Cache[K, V]) doCleanup(interval time.Duration, stop <-chan struct{}) {
111
c.DeleteExpired()
112
case <-stop:
113
ticker.Stop()
114
+ return
115
}
116
117
0 commit comments