Describe the bug
When I try to open a book it spins for a long time. Going back and selecting a different book causes it to crash:
java.util.ConcurrentModificationException
at java.util.ArrayList$Itr.checkForComodification(ArrayList.java:1111)
at java.util.ArrayList$Itr.next(ArrayList.java:1064)
at ua.acclorite.book_story.presentation.reader.ReaderModel.f(r8-map-id-9e20cf6c4ed990f3af495dbd118afb0e4847ab585f51f589fa399b8add8d6ef3:86)
at ua.acclorite.book_story.presentation.reader.ReaderModel$clear$1.u(r8-map-id-9e20cf6c4ed990f3af495dbd118afb0e4847ab585f51f589fa399b8add8d6ef3:12)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.h(r8-map-id-9e20cf6c4ed990f3af495dbd118afb0e4847ab585f51f589fa399b8add8d6ef3:9)
at kotlinx.coroutines.DispatchedTask.run(r8-map-id-9e20cf6c4ed990f3af495dbd118afb0e4847ab585f51f589fa399b8add8d6ef3:121)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(r8-map-id-9e20cf6c4ed990f3af495dbd118afb0e4847ab585f51f589fa399b8add8d6ef3:118)
Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [StandaloneCoroutine{Cancelling}@62f88f, Dispatchers.Default]
To Reproduce
Steps to reproduce the behavior:
- Go to "reading" (a library I manually added since the recent update to 1.8.0 removed it)
- Select a book
- Observe it is taking a long time to open (10 seconds or more)
- Go back and try a different book to see if it was a problem with this one book (though it opened in a previous release)
- New book: either crashes or spins as well
- Go back and select another book
- Crash
Expected behavior
- I expect the app to open books quickly like it did in previous release
- I expect it not to crash when going back and forth from library to book
Device Info (please complete the following information):
- Device: Pixel 7
- Android Version: 16
- Version of the app 1.8.0
Describe the bug
When I try to open a book it spins for a long time. Going back and selecting a different book causes it to crash:
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Device Info (please complete the following information):