Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-1965

Improve warning when automatic ctor/dtor are enabled

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Build, libmongoc
    • None

      Automatically calling mongoc_init() and mongoc_cleanup() has been deprecated for a while, but for bc reasons it is still enabled by default.

      Unfortunately, this causes lots of issues when the client app does not actually call the functions, such as with SASL cleanup routines.

      During configuration, we should make it abundantly clear when sasl and automatic ctor/dtor is enabled, that this will result in issues.
      See for examples linked tickets

            Assignee:
            Unassigned Unassigned
            Reporter:
            bjori Hannes Magnusson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: