mirror of
https://github.com/zarzet/SpotiFLAC-Mobile.git
synced 2026-07-26 05:51:18 +02:00
60bf871945
Queue writes are debounced by 350 ms and the only guaranteed flush ran in the provider's onDispose, which never fires when the OS kills the backgrounded process - the most recent queue mutations were silently lost, so items could vanish after the app sat minimised for a while. Expose flushQueuePersistence() on the queue notifier and call it from the app lifecycle observer on AppLifecycleState.paused, the last reliable callback before a potential process kill.