Skip to content

Commit 3749a4d

Browse files
author
Alex Wissmann
committed
remove defer
1 parent 9483e48 commit 3749a4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

exec/bigmachine.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,9 +184,9 @@ func (b *bigmachineExecutor) manager(i int) *machineManager {
184184

185185
b.managersWG.Add(1)
186186
go func() {
187-
defer b.managersWG.Done()
188187
b.managers[i].Do(ctx)
189188
b.managers[i].machinesWG.Wait()
189+
b.managersWG.Done()
190190
}()
191191
}
192192
return b.managers[i]

0 commit comments

Comments
 (0)