Uploaded image for project: 'Realm Kotlin'
  1. Realm Kotlin
  2. RKOTLIN-545

Correctly delete Realm file when initializing data or subscriptions fails.

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Local
    • None

      When initialData or initialSubscriptions throw an exception, we should delete the Realm file, so the logic can be retried, but this is currently difficult to achieve, especially for synchronized Realms due to the SyncClient holding on to Realm file handles.

      Core will be providing a solution for this which we should adopt: https://github.com/realm/realm-core/pull/5540

            Assignee:
            Unassigned Unassigned
            Reporter:
            unitosyncbot Unito Sync Bot
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: