Remove unlocked since its there already.
This commit is contained in:
parent
26b0c7356d
commit
ea5b70e8fc
1 changed files with 0 additions and 2 deletions
|
@ -106,8 +106,6 @@ func (s *Group) DoneNamed(name string) {
|
|||
|
||||
if s.waitingOn != nil {
|
||||
s.mu.Lock()
|
||||
defer s.mu.Unlock()
|
||||
|
||||
if current, ok := s.waitingOn[name]; ok {
|
||||
if current <= 1 {
|
||||
delete(s.waitingOn, name)
|
||||
|
|
Loading…
Reference in a new issue