Skip to content

Refresh the AP pool after stopping the receiver#464

Merged
devgianlu merged 4 commits intolibrespot-org:devfrom
iscle:reconnection-fix
Feb 8, 2022
Merged

Refresh the AP pool after stopping the receiver#464
devgianlu merged 4 commits intolibrespot-org:devfrom
iscle:reconnection-fix

Conversation

@iscle
Copy link
Collaborator

@iscle iscle commented Feb 8, 2022

Before, we tried to refresh the AP pool before stopping the receiver. If the AP pool refresh failed it would throw an exception and the receiver would not be stopped, making it trying to access a null pointer afterwards. This should fix #447.

This PR also includes some other minor changes related to yesterday's PR (#460) which I overlooked.

iscle added 4 commits February 7, 2022 12:55
Before, we tried to refresh the AP pool before stopping the receiver. If the AP pool refresh failed it would throw an exception and the receiver would not be stopped, making it trying to access a null pointer afterwards. This should fix librespot-org#447.
@devgianlu
Copy link
Member

LGTM, nice catch!

@devgianlu devgianlu merged commit c3473bd into librespot-org:dev Feb 8, 2022
@iscle iscle deleted the reconnection-fix branch February 8, 2022 16:13
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.

librespot-player crashes on Android at random times

2 participants