mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +03:00
pool: fix initialization of waitgroup in test_concurrent_access() (#24753)
This commit is contained in:
parent
125c899d62
commit
e2835bb9da
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue