summaryrefslogtreecommitdiff
path: root/internal/tmuxedit/run.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-03-16 03:16:42 +0200
committerPaul Buetow <paul@buetow.org>2026-03-16 03:16:42 +0200
commit8790ff6f699d1b073d906b2752f714a0ed3ee2ae (patch)
tree2961767af7db7ff538b40004b91d772882af3929 /internal/tmuxedit/run.go
parenta71136dc8c2a51dcaa49e4af5e42b3c6bffd6fa0 (diff)
Fix time.After timer leak in stats.acquireFileLock
Replace per-iteration time.After with a single time.NewTimer that is reused via Reset() and cleaned up with defer Stop(). Prevents leaking a timer and channel on every retry iteration. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Diffstat (limited to 'internal/tmuxedit/run.go')
0 files changed, 0 insertions, 0 deletions