xiaoyexu

Results 1 issues of xiaoyexu

When the cache is created, a finalizer will stop ticking if no reference to the pointer func New(defaultExpiration, cleanupInterval time.Duration) *Cache { c := newCache(defaultExpiration) // This trick ensures that...