mirror of
https://github.com/navidrome/navidrome.git
synced 2026-10-13 21:07:10 +02:00
time.After keeps its underlying timer alive until it fires, even when the select's other branch already won. Switch to time.NewTimer with a deferred Stop() so the timer is released immediately on the fast path. Addresses review feedback from gemini-code-assist on #5715. |
||
|---|---|---|
| .. | ||
| mpv | ||
| device.go | ||
| playback_suite_test.go | ||
| playbackserver.go | ||
| queue.go | ||
| queue_test.go | ||