From caeffa3998adc060fa66c4cd77af971ff2d26c57 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Thu, 2 Jun 2016 11:06:05 -0700 Subject: [PATCH] add missing unlock()!!!!! --- go/util/concurrent_read_map.go | 1 + 1 file changed, 1 insertion(+) 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 }