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

Document object-destruction order

    • Type: Icon: Improvement Improvement
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • 1.7.0
    • Affects Version/s: None
    • Component/s: Docs
    • None

      Throughout the docs, tell users in what order to destroy objects. One example is this: destroy a mongoc_cursor_t before the mongoc_client_t whence it came. I think it's safe in all cases to destroy objects in the opposite order they were created. Whatever the rule is, guide users.

            Assignee:
            jesse@mongodb.com A. Jesse Jiryu Davis
            Reporter:
            jesse@mongodb.com A. Jesse Jiryu Davis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: