summaryrefslogtreecommitdiff
path: root/internal/flamegraph
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2025-03-19 22:25:13 +0200
committerPaul Buetow <paul@buetow.org>2025-03-19 22:25:13 +0200
commit0cbf33424a4034bc18c433cb6bf8fd72544a05b4 (patch)
tree3834229aa0a1ff483114105fc8f2478379fdf42c /internal/flamegraph
parent155f630a61e353b623837c5403e0a85b8792d671 (diff)
fix deadlock when exiting of ior doesn't work when there are no events
Diffstat (limited to 'internal/flamegraph')
-rw-r--r--internal/flamegraph/worker.go1
1 files changed, 0 insertions, 1 deletions
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: