mirror of
https://github.com/bbara04/Purefin.git
synced 2026-03-31 17:10:08 +02:00
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.