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

Support manually closing resources

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Local
    • None

      With all Realm Objects, Results, Lists and Queries being frozen, it means there is a higher chance of us "leaking" versions in high concurrency scenarios. It isn't a leak as such, but releasing older versions would depend on the GC.

      In order to prevent the file size of the Realm to grow too much, it might be beneficial to add optional close() methods to all classes holding on to native resources.

      That isn't ideal and would be annoying clutter in the API. So we should evaluate whether this is really needed.

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

              Created:
              Updated: