From 0cbf33424a4034bc18c433cb6bf8fd72544a05b4 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Wed, 19 Mar 2025 22:25:13 +0200 Subject: fix deadlock when exiting of ior doesn't work when there are no events --- internal/flamegraph/worker.go | 1 - 1 file changed, 1 deletion(-) (limited to 'internal/flamegraph') diff --git a/internal/flamegraph/worker.go b/internal/flamegraph/worker.go index e590163..09458fd 100644 --- a/internal/flamegraph/worker.go +++ b/internal/flamegraph/worker.go @@ -37,7 +37,6 @@ func (w worker) run(ctx context.Context, wg *sync.WaitGroup, ch <-chan *event.Pa pathMap[traceId] = cnt w.collapsed[filePath] = pathMap - // TODO: Enable Go race detector ev.Recycle() default: -- cgit v1.2.3