mirror of
https://github.com/anyproto/any-sync.git
synced 2025-06-08 14:07:02 +09:00
Fix accidental broadcast
This commit is contained in:
parent
561bb3bd04
commit
e82e92d5d2
1 changed files with 1 additions and 1 deletions
|
@ -32,6 +32,6 @@ func (l *Limit) Release(id string) {
|
||||||
defer l.cond.L.Unlock()
|
defer l.cond.L.Unlock()
|
||||||
if l.tokens[id] > 0 {
|
if l.tokens[id] > 0 {
|
||||||
l.tokens[id]--
|
l.tokens[id]--
|
||||||
l.cond.Broadcast()
|
l.cond.Signal()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue