fix: repeat timeline migration for first time user (#21794)

This commit is contained in:
Alex 2025-09-10 16:27:00 -05:00 committed by GitHub
parent 56e5236a39
commit 2d2673c114
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 63 additions and 52 deletions

View file

@ -167,13 +167,6 @@ class AppLifeCycleNotifier extends StateNotifier<AppLifeCycleEnum> {
}
} catch (e, stackTrace) {
_log.severe("Error during background sync", e, stackTrace);
} finally {
// Ensure lock is released even if operations fail
try {
_log.info("Lock released after background sync operations");
} catch (lockError) {
_log.warning("Failed to release lock after error: $lockError");
}
}
}