Skip to content

Commit e2835bb

Browse files
authored
pool: fix initialization of waitgroup in test_concurrent_access() (#24753)
1 parent 125c899 commit e2835bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vlib/pool/connection_test.v

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ fn test_concurrent_access() {
195195
defer {
196196
p.close()
197197
}
198-
mut wg := &sync.WaitGroup{}
198+
mut wg := sync.new_waitgroup()
199199

200200
for _ in 0 .. 20 {
201201
wg.add(1)

0 commit comments

Comments
 (0)