Document object-destruction order

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Duplicate
    • Priority: Major - P3
    • 1.7.0
    • Affects Version/s: None
    • Component/s: Docs
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • 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:
            A. Jesse Jiryu Davis
            Reporter:
            A. Jesse Jiryu Davis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: