mirror of
https://github.com/devgianlu/go-librespot.git
synced 2026-04-25 21:05:47 +03:00
[PR #168] [CLOSED] fix: Fixing races and resouce leaks #237
Labels
No labels
bug
enhancement
pull-request
spotify-side
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/go-librespot#237
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/devgianlu/go-librespot/pull/168
Author: @tantra35
Created: 1/30/2025
Status: ❌ Closed
Base:
master← Head:fix-01-portion-of-sync-bugs📄 Description
We must provide some cancelable context, so when main applplayer loop ends, any depend network operations must be canceled
When chanel is closed it return empty variables (in case none pointer it returns emptry structs, wil nil chanel and if we do ch recive o send "some data" to nil chanel we hang forever)
chanel for stop must be simple closed, in such case when we do <- closedCh we will signal in any case wneh chanel closed
Dealer must be closed at the end on player loop
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.