From e2835bb9da049d3932e7841eb15aa080a90dafa2 Mon Sep 17 00:00:00 2001 From: Kim Shrier Date: Thu, 19 Jun 2025 01:26:38 -0600 Subject: [PATCH] pool: fix initialization of waitgroup in test_concurrent_access() (#24753) --- vlib/pool/connection_test.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vlib/pool/connection_test.v b/vlib/pool/connection_test.v index 44e79dd5c2..41c54e037a 100644 --- a/vlib/pool/connection_test.v +++ b/vlib/pool/connection_test.v @@ -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)