From 5f9fb619a129c0a764ba5e88e6fa21cc6fe5fed4 Mon Sep 17 00:00:00 2001 From: ChristopherHX Date: Sun, 22 Feb 2026 15:52:13 +0000 Subject: [PATCH] do not call wg.done --- internal/pkg/report/reporter_test.go | 1 - 1 file changed, 1 deletion(-) diff --git a/internal/pkg/report/reporter_test.go b/internal/pkg/report/reporter_test.go index c10fe5e2..f617e296 100644 --- a/internal/pkg/report/reporter_test.go +++ b/internal/pkg/report/reporter_test.go @@ -324,7 +324,6 @@ func TestReporter_RunDaemonClose_Race(t *testing.T) { // RunDaemon reads r.closed and reschedules itself via time.AfterFunc. var wg sync.WaitGroup wg.Go(func() { - defer wg.Done() reporter.RunDaemon() })