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

Document object-destruction order

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • 1.7.0
    • None
    • docs
    • None

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: