Uploaded image for project: 'Couchbase Lite'
  1. Couchbase Lite
  2. CBL-2478

Tear down DBAccess on stopped instead of on release

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Blocker
    • 3.0
    • 2.8.0
    • LiteCore
    • Security Level: Public
    • None
    • 3

    Description

      Related to a reported issue in which a database is unable to be deleted due to our internal classes holding a reference to them. For reasons still unknown, the replicator is not being torn down in a timely fashion which causes this problem. So instead of waiting for it to be torn down before getting rid of the DB handles, do so immediately upon stopped. The class holding these references is designed to be single shot anyway (i.e. if it is needed again after stop, a new one is created) so it doesn't matter much from the class' standpoint where we do this.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              jianmin.zhao Jianmin Zhao
              jimb Jim Borden
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty