Uploaded image for project: 'Couchbase .NET client library'
  1. Couchbase .NET client library
  2. NCBC-585

Refactor finalization logic so that Exceptions are not thrown on finalizer thread

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 1.3.11
    • 1.3.8
    • library
    • None

    Description

      Reviewing MemcachedClient, there are a few issues that need to be resolved:

      • The dispose/finalize logic itself is not correct in MemcachedClient. GCSuppressFinalize shouldn't be called during finalization for example.
      • The finalizer contains code (logging) that could throw an exception if the config was not setup correctly or if It cannot create the instance for some reason

      Attachments

        For Gerrit Dashboard: NCBC-585
        # Subject Branch Project Status CR V

        Activity

          People

            jmorris Jeff Morris
            jmorris Jeff Morris
            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