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.
1 parent 2157586 commit d889e39Copy full SHA for d889e39
scouterx/common/structure/lra/lra.go
@@ -114,8 +114,8 @@ func (c *Cache) Clear() {
114
c.OnEvicted(kv.key, kv.value)
115
}
116
117
- c.lst = nil
118
- c.table = nil
+ c.lst = list.New()
+ c.table = make(map[interface{}]*list.Element)
119
120
121
func (c *Cache) GetValues() []interface{} {
0 commit comments