1
0
mirror of https://github.com/kataras/iris.git synced 2026-01-09 04:51:56 +00:00

Fix some invalid unlocks from the last change

This commit is contained in:
Makis Maropoulos
2016-07-07 13:05:11 +02:00
parent 871b43cae7
commit 0cb2351a4f
2 changed files with 1 additions and 3 deletions

View File

@@ -95,7 +95,6 @@ func (s *Store) VisitAll(cb func(k string, v interface{})) {
func (s *Store) Get(key string) interface{} {
Provider.Update(s.sid)
if value, found := s.values[key]; found {
s.mu.Unlock()
return value
}
return nil