pool: fix initialization of waitgroup in test_concurrent_access() (#24753)

This commit is contained in:
Kim Shrier 2025-06-19 01:26:38 -06:00 committed by GitHub
parent 125c899d62
commit e2835bb9da
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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)