mirror of
https://github.com/bbara04/Purefin.git
synced 2026-03-31 17:10:08 +02:00
198e40d1e896ffbd155f5288c50558a24af11a72
ensureReady() had a race condition where concurrent callers from init block and ViewModels would all run the loading logic simultaneously. Added Mutex to ensure only the first caller loads; others await. Also added a cooldown to refreshHomeData() since LifecycleResumeEffect fires immediately on first composition, triggering a redundant reload right after the initial load completes.
Description
Languages
Kotlin
100%