do not call wg.done

This commit is contained in:
ChristopherHX 2026-02-22 15:52:13 +00:00
parent 111b187954
commit 5f9fb619a1
1 changed files with 0 additions and 1 deletions

View File

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