mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-06-21 14:21:46 +00:00
c64101b12a
clearAll() now clears all tables in a transaction instead of calling offlineDb.delete(), which triggered our versionchange handler and put Dexie into a broken write state for the rest of the session. tripRepo.get() gets the same 2 s timeout guard as list() so a stalled IDB read no longer freezes the trip splash screen. _doSync wraps each syncTrip() in a 30 s per-trip timeout so a single stalled write transaction cannot prevent the loop from advancing to subsequent trips.