Skip to content

Commit 8909ed6

Browse files
committed
fix can't release httpworker
1 parent 73fcaea commit 8909ed6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

benchmark.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ func (b *Benchmark) Run() {
3333
for i := 0; i < b.c.config.requests; i++ {
3434
jobs <- CopyHttpRequest(b.c.config, base)
3535
}
36+
close(jobs)
3637

3738
<-b.c.stop
3839
}

0 commit comments

Comments
 (0)