diff --git a/go/util/concurrent_read_map.go b/go/util/concurrent_read_map.go index bbf303d82..28b6ae0f1 100644 --- a/go/util/concurrent_read_map.go +++ b/go/util/concurrent_read_map.go @@ -49,6 +49,7 @@ func (m *ConcurrentReadMap) Items() (itemsCopy []interface{}) { for _, i := range m.items { itemsCopy = append(itemsCopy, i) } + m.RUnlock() return itemsCopy }