Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix crash when switching users while playing music #2923

Merged
merged 2 commits into from
Jul 30, 2023

Conversation

nielsvanvelzen
Copy link
Member

Previously we only stopped playback after the user is changed, with this change we also stop media immediately after usiong the switch users button in the home toolbar

Changes

  • Stop media playback when switching users
    Previously we only stopped playback after the user is changed, with this change we also stop media immediately after usiong the switch users button in the home toolbar

  • Don't clear ApiClient credentials when destroying a session
    This fixes various crashes where API calls would fail after a session was destroyed. Most notable was the crash that occurred when stopping music playback when switching users

Issues

Previously we only stopped playback after the user is changed, with this change we also stop media immediately after usiong the switch users button in the home toolbar
This fixes various crashes where API calls would fail after a session was destroyed. Most notable was the crash that occurred when stopping music playback when switching users
@nielsvanvelzen nielsvanvelzen added bug Something isn't working crash Bug causing app crashes labels Jul 29, 2023
@nielsvanvelzen nielsvanvelzen added this to the v0.16.0 milestone Jul 29, 2023
@nielsvanvelzen nielsvanvelzen merged commit b466a8d into jellyfin:master Jul 30, 2023
@nielsvanvelzen nielsvanvelzen deleted the switch-user-crash branch July 30, 2023 07:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working crash Bug causing app crashes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants