mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2026-08-09 05:18:40 +02:00
Update:iOS remove paused timer that synced with the server when current media was paused
This commit is contained in:
@@ -236,8 +236,10 @@ class ApiClient {
|
||||
if (success) {
|
||||
// Remove sessions from db
|
||||
try playbackSessions.forEach { session in
|
||||
if let session = session.thaw() {
|
||||
try session.delete()
|
||||
if (!session.isActiveSession) {
|
||||
if let session = session.thaw() {
|
||||
try session.delete()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user