mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2026-07-27 06:58:37 +02:00
[PR #340] [MERGED] fix: iOS app crashes when playback session not loaded from Realm #1409
Reference in New Issue
Block a user
📋 Pull Request Information
Original PR: https://github.com/advplyr/audiobookshelf-app/pull/340
Author: @ronaldheft
Created: 8/30/2022
Status: ✅ Merged
Merged: 8/30/2022
Merged by: @advplyr
Base:
master← Head:ios-crashes📝 Commits (1)
b583a8eHandle iOS crashes when no session📊 Changes
2 files changed (+78 additions, -40 deletions)
View changed files
📝
ios/App/Shared/player/AudioPlayer.swift(+69 -35)📝
ios/App/Shared/player/PlayerHandler.swift(+9 -5)📄 Description
I'm seeing an occasional crash on the iOS app, which I've traced back to the playback session return nil from Realm. I'm continuing to investigate scenarios where that may happen. In the meantime, I have addressed the hard crashes by improving the error handling:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.