Skip to content

Fix concurrency races, error handling, and lint warnings#22

Merged
glebovdev merged 1 commit intomasterfrom
fix/concurrency-and-error-handling
Feb 15, 2026
Merged

Fix concurrency races, error handling, and lint warnings#22
glebovdev merged 1 commit intomasterfrom
fix/concurrency-and-error-handling

Conversation

@glebovdev
Copy link
Owner

  • Wait for sub-goroutines in Player.Stop() before resetting state
  • Guard StartPeriodicRefresh against double-start, capture locals for goroutine
  • Fix data race in refresh background logging
  • Add HTTP status check to PLS fetching
  • Prevent stale async image from overwriting current station logo
  • Stop existing animation goroutine before starting new one on error retry
  • Fix SA5011 staticcheck warnings in tests (make check now passes clean)

- Wait for sub-goroutines in Player.Stop() before resetting state
- Guard StartPeriodicRefresh against double-start, capture locals for goroutine
- Fix data race in refresh background logging
- Add HTTP status check to PLS fetching
- Prevent stale async image from overwriting current station logo
- Stop existing animation goroutine before starting new one on error retry
- Fix SA5011 staticcheck warnings in tests
@glebovdev glebovdev self-assigned this Feb 15, 2026
@glebovdev glebovdev merged commit 10ae79f into master Feb 15, 2026
4 checks passed
@glebovdev glebovdev deleted the fix/concurrency-and-error-handling branch February 15, 2026 20:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant