Skip to content

Commit 2b89f28

Browse files
authored
(*Transfer) Out: Increment WaitGroup in example (#1572)
1 parent 32f0e18 commit 2b89f28

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

xfr.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,7 @@ func (t *Transfer) inIxfr(q *Msg, c chan *Envelope) {
209209
// ch := make(chan *dns.Envelope)
210210
// tr := new(dns.Transfer)
211211
// var wg sync.WaitGroup
212+
// wg.Add(1)
212213
// go func() {
213214
// tr.Out(w, r, ch)
214215
// wg.Done()

0 commit comments

Comments
 (0)