Fix WaitGroup panic issue

Make sure WaitGroup.Add() is called before WaitGroup.Done() to avoid WaitGroup panic issue

Fixes #8657

Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com>
This commit is contained in:
Wenkai Yin(尹文开)
2025-02-12 13:56:05 +08:00
parent 5d9a4e84cb
commit cdcd6eb99d
5 changed files with 52 additions and 25 deletions
+1
View File
@@ -0,0 +1 @@
Fix #8657: WaitGroup panic issue