We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 250268a commit 9f441f7Copy full SHA for 9f441f7
1 file changed
internal/cache.go
@@ -167,6 +167,7 @@ func (c *Cache) Purge() {
167
168
if len(c.events[Remove]) == 0 {
169
c.entries = make(map[interface{}]*Entry)
170
+ c.heap = nil
171
return
172
}
173
0 commit comments