diff options
| author | Paul Buetow <paul@buetow.org> | 2026-03-16 03:16:42 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-03-16 03:16:42 +0200 |
| commit | 8790ff6f699d1b073d906b2752f714a0ed3ee2ae (patch) | |
| tree | 2961767af7db7ff538b40004b91d772882af3929 /internal/tmuxedit/run.go | |
| parent | a71136dc8c2a51dcaa49e4af5e42b3c6bffd6fa0 (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
