mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
add missing unlock()!!!!!
This commit is contained in:
parent
6df18a9181
commit
caeffa3998
|
@ -49,6 +49,7 @@ func (m *ConcurrentReadMap) Items() (itemsCopy []interface{}) {
|
|||
for _, i := range m.items {
|
||||
itemsCopy = append(itemsCopy, i)
|
||||
}
|
||||
m.RUnlock()
|
||||
return itemsCopy
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue