Skip to content

Conversation

DreierF
Copy link
Contributor

@DreierF DreierF commented May 4, 2025

Changes

Handles already running transactions. Not an android expert, but judging from the stack trace this could fix the issue.

Issues

#4572
#4441

@nielsvanvelzen
Copy link
Member

I think we should actually check for FragmentManager.isDestroyed and don't commit at-all (but write a warning message to the logs). Unfortunately I cannot reproduce the crash so I can also not test a potential fix.

@DreierF
Copy link
Contributor Author

DreierF commented May 6, 2025

Thanks for taking a look! I adjusted the code as suggested.

@DreierF DreierF requested a review from nielsvanvelzen May 10, 2025 15:20
@nielsvanvelzen nielsvanvelzen added this to the v0.19.0 milestone May 10, 2025
@nielsvanvelzen nielsvanvelzen added bug Something isn't working backportable Change may be backported to a point release (remove label once cherrypicked) crash Bug causing app crashes labels May 10, 2025
@nielsvanvelzen nielsvanvelzen merged commit a78db27 into jellyfin:master May 10, 2025
6 checks passed
@nielsvanvelzen
Copy link
Member

Thanks!

mehrmoudi pushed a commit to mehrmoudi/jellyfin-androidtv that referenced this pull request May 10, 2025
* Fix crash on startup

* Changed condition evaluation order
nielsvanvelzen pushed a commit that referenced this pull request May 28, 2025
* Fix crash on startup

* Changed condition evaluation order

(cherry picked from commit a78db27)
@nielsvanvelzen nielsvanvelzen modified the milestones: v0.19.0, v0.18.9 May 28, 2025
@nielsvanvelzen nielsvanvelzen removed the backportable Change may be backported to a point release (remove label once cherrypicked) label May 28, 2025
@nielsvanvelzen nielsvanvelzen mentioned this pull request Jun 6, 2025
3 tasks
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.

2 participants