Skip to content

Commit

Permalink
small cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
neelance committed May 8, 2017
1 parent b94674a commit 1fa5d70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/exec/exec.go
Original file line number Diff line number Diff line change
Expand Up @@ -233,8 +233,8 @@ func (r *Request) execSelectionSet(ctx context.Context, sels []selected.Selectio
entryouts := make([]bytes.Buffer, l)
for i := 0; i < l; i++ {
go func(i int) {
defer r.handlePanic(ctx)
defer wg.Done()
defer r.handlePanic(ctx)
r.execSelectionSet(ctx, sels, t.OfType, resolver.Index(i), &entryouts[i])
}(i)
}
Expand Down

0 comments on commit 1fa5d70

Please sign in to comment.