mirror of
https://github.com/clementine-player/Clementine
synced 2024-12-15 10:48:33 +01:00
55e5eab157
QList.removeAll calls the destructor for the elements in the list. This caused `req` to be initialized in `SpotifyClient::TryPlaybackAgain()`. Therefore, spotify method calls might crash because the pointers are invalid. This commit moves the `pending_playback_requests_.removeAll` to the end of the method to ensure `req` is accessible all the time. |
||
---|---|---|
.. | ||
clementine-spotifyblob | ||
clementine-tagreader | ||
libclementine-common | ||
libclementine-remote | ||
libclementine-spotifyblob | ||
libclementine-tagreader |