[CDRIVER-963] Document object-destruction order Created: 24/Oct/15  Updated: 05/May/17  Resolved: 05/May/17

Status: Closed
Project: C Driver
Component/s: docs
Affects Version/s: None
Fix Version/s: 1.7.0

Type: Improvement Priority: Major - P3
Reporter: A. Jesse Jiryu Davis Assignee: A. Jesse Jiryu Davis
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates CDRIVER-1980 Incorrect lifecycle documentation nee... Closed
Related
related to CDRIVER-899 Segfault in /Cursor/get_host Closed

 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.


Generated at Wed Feb 07 21:11:09 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.