We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2f6e861 commit 16efe8fCopy full SHA for 16efe8f
namedmutexsm.go
@@ -24,7 +24,7 @@ func (nm *NamedMutexSM) UnlockSafe(slug interface{}) bool {
24
if !vb {
25
return false
26
}
27
- v2.(*sync.RWMutex).Unlock()
+ v2.(*sync.Mutex).Unlock()
28
return true
29
30
0 commit comments