Uploaded image for project: 'Couchbase Python Client Library'
  1. Couchbase Python Client Library
  2. PYCBC-172

Implement Connection._close

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • Major
    • 1.1.0
    • None
    • library
    • Security Level: Public
    • None

    Description

      This experimental feature will remove all resources used by the underlying libcouchbase instance.

      Implementation details - in order to make sure a NULL pointer isn't being used for the various SDK APIs, a new "empty" object will be created - however it will not be initialized.

      The reason for the underscore is:

      1) This is not considered a normal feature. This is a rather internal aspect of the SDK and may cause the application to perform in unexpected (though not undetermined) state.
      2) We don't want to mandate calling 'close()' as part of the API. For normal usage no specific 'close()' functionality is needed

      Attachments

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

        Activity

          People

            mnunberg Mark Nunberg (Inactive)
            mnunberg Mark Nunberg (Inactive)
            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