add missing unlock()!!!!!

This commit is contained in:
Chris Lu 2016-06-02 11:06:05 -07:00
parent 6df18a9181
commit caeffa3998

View file

@ -49,6 +49,7 @@ func (m *ConcurrentReadMap) Items() (itemsCopy []interface{}) {
for _, i := range m.items {
itemsCopy = append(itemsCopy, i)
}
m.RUnlock()
return itemsCopy
}