Uploaded image for project: 'PHP Driver: Extension'
  1. PHP Driver: Extension
  2. PHPC-1367

Move libmongoc init/cleanup within scope of custom libbson vtable

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 1.10.0-alpha1, 1.10.0
    • Affects Version/s: None
    • Component/s: 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:
            jmikola@mongodb.com Jeremy Mikola
            Reporter:
            jmikola@mongodb.com Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: