mirror of
https://github.com/librespot-org/librespot.git
synced 2026-04-27 08:15:50 +03:00
[PR #1555] [MERGED] Fix: Delete the connect state only on spirc shutdown #1437
Labels
No labels
A-Alsa
SpotifyAPI
Tokio 1.0
audio
bug
can't reproduce
compilation
dependencies
duplicate
enhancement
good first issue
help wanted
high priority
imported
imported
invalid
new api
pull-request
question
reverse engineering
wiki
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/librespot#1437
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/librespot-org/librespot/pull/1555
Author: @photovoltex
Created: 8/26/2025
Status: ✅ Merged
Merged: 8/27/2025
Merged by: @photovoltex
Base:
dev← Head:fix/delete-state-only-on-shutdown📝 Commits (3)
fc6accffix: only delete the state on shutdowna9416acchore: update changelog7620d62Merge branch 'dev' into fix/delete-state-only-on-shutdown📊 Changes
2 files changed (+6 additions, -6 deletions)
View changed files
📝
CHANGELOG.md(+1 -0)📝
connect/src/spirc.rs(+5 -6)📄 Description
In #1551 @samcook encountered an unexpected behavior during reconnecting.
The issue happens because the reconnect is initiated via zeroconf instead of using the connect interface, aka in the disconnect handling was a major issue where the state itself was deleted. This should only happen when shutting down the dealer so that the dealer can still receive requests and updates.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.