Unverified Commit bdf5e640 authored by 望哥's avatar 望哥 Committed by GitHub

Merge pull request #4 from fangyincheng/dubbogo-master

Fix:change Unlock to RUnlock
parents 50264ef3 bc20d15e
......@@ -275,7 +275,7 @@ func (s *session) SetWaitTime(waitTime time.Duration) {
func (s *session) GetAttribute(key interface{}) interface{} {
s.lock.RLock()
if s.attrs == nil {
s.lock.Unlock()
s.lock.RUnlock()
return nil
}
ret, flag := s.attrs.Get(key)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment