mirror of
https://github.com/vlang/v.git
synced 2025-09-09 07:15:50 -04:00
pool: fix initialization of waitgroup in test_concurrent_access() (#24753)
This commit is contained in:
parent
125c899d62
commit
e2835bb9da
@ -195,7 +195,7 @@ fn test_concurrent_access() {
|
||||
defer {
|
||||
p.close()
|
||||
}
|
||||
mut wg := &sync.WaitGroup{}
|
||||
mut wg := sync.new_waitgroup()
|
||||
|
||||
for _ in 0 .. 20 {
|
||||
wg.add(1)
|
||||
|
Loading…
x
Reference in New Issue
Block a user