diff options
| author | Paul Buetow <paul@buetow.org> | 2026-03-10 19:08:42 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-03-10 19:08:42 +0200 |
| commit | b4935194b7cdbb9854d7716bd3ec70883358f03a (patch) | |
| tree | ca9dbae416a8287d143bd24c739d97145c0302a7 /internal/ior.go | |
| parent | e9bdf85b11e9c75f19721384f1c1b34b0f2f4ea0 (diff) | |
task 433: lock in pair recycle safety
Diffstat (limited to 'internal/ior.go')
| -rw-r--r-- | internal/ior.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/internal/ior.go b/internal/ior.go index ad46feb..668dda1 100644 --- a/internal/ior.go +++ b/internal/ior.go @@ -211,6 +211,8 @@ func tuiTraceStarterFromRunTrace( engine.Ingest(ep) streamEvents <- eventstream.NewStreamEvent(ep.EnterEv.GetTime(), ep) liveTrie.Ingest(ep) + // Both downstream consumers snapshot the pair synchronously, so + // the pooled pair can be recycled immediately afterwards. ep.Recycle() } el.warningCb = func(message string) { |
