mirror of
https://github.com/clementine-player/Clementine
synced 2025-01-22 23:41:30 +01:00
Remove pending playlist requests in SpotifyClient if sp_session_player_load failed as well.
This commit is contained in:
parent
fe7bc917de
commit
f34734443b
@ -948,6 +948,9 @@ void SpotifyClient::TryPlaybackAgain(const PendingPlaybackRequest& req) {
|
||||
SendPlaybackError("Spotify playback error: " +
|
||||
QString::fromUtf8(sp_error_message(error)));
|
||||
sp_link_release(req.link_);
|
||||
|
||||
// Remove this from the pending list now
|
||||
pending_playback_requests_.removeAll(req);
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user