Skip to content

Commit 667407b

Browse files
authored
clarify lifecycle of sd (#732)
1 parent 56ada16 commit 667407b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/libmongoc/doc/mongoc_server_description_t.rst

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,10 @@ Synopsis
1818
Lifecycle
1919
---------
2020

21-
Clean up with :symbol:`mongoc_server_description_destroy()`.
21+
Clean up a ``mongoc_server_description_t`` with :symbol:`mongoc_server_description_destroy()` when necessary.
22+
23+
Applications receive a temporary reference to a ``mongoc_server_description_t`` as a parameter to an SDAM Monitoring callback that must not be destroyed. See
24+
:doc:`Introduction to Application Performance Monitoring <application-performance-monitoring>`.
2225

2326
.. only:: html
2427

0 commit comments

Comments
 (0)