Move libmongoc init/cleanup within scope of custom libbson vtable

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Minor - P4
    • 1.10.0-alpha1, 1.10.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Investigate whether there is a particular reason we call mongoc_init() before bson_mem_set_vtable() in MINIT, and similarly call mongoc_cleanup() after bson_mem_restore_vtable() during shutdown. If there is a specific reason for doing so, we should document that in the code; otherwise, reverse this ordering.

              Assignee:
              Jeremy Mikola
              Reporter:
              Jeremy Mikola
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: