mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-11-04 11:07:35 +01:00
add missing unlock()!!!!!
This commit is contained in:
1 parent
6df18a9181
commit
caeffa3998
1 file changed
+1
@@ -49,6 +49,7 @@ func (m *ConcurrentReadMap) Items() (itemsCopy []interface{}) {
|
||||
for _, i := range m.items {
|
||||
itemsCopy = append(itemsCopy, i)
|
||||
}
|
||||
m.RUnlock()
|
||||
return itemsCopy
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user