fix(timingwheel): add missing Wait() call and improve code clarity (#5315)

Signed-off-by: kevin <wanjunfeng@gmail.com>
This commit is contained in:
Kevin Wan
2025-12-07 11:37:56 +08:00
committed by GitHub
parent 918a7be698
commit 7b23f73268
3 changed files with 155 additions and 0 deletions

View File

@@ -25,6 +25,7 @@ func TestRoutineGroupRun(t *testing.T) {
func TestRoutingGroupRunSafe(t *testing.T) {
logtest.Discard(t)
var count int32
group := NewRoutineGroup()
var once sync.Once