We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 974ef92 commit f238674Copy full SHA for f238674
rmw/include/rmw/rmw.h
@@ -177,6 +177,12 @@ rmw_create_node(
177
178
/// Finalize a given node handle, reclaim the resources, and deallocate the node handle.
179
/**
180
+ * The method may assume - but should verify - that all publishers, subscribers,
181
+ * services, and clients created from this node have already been destroyed.
182
+ * If the rmw implementation chooses to verify instead of assume, it should
183
+ * return `RMW_RET_ERROR` and set a human readable error message if any entity
184
+ * created from this node has not yet been destroyed.
185
+ *
186
* \param node the node handle to be destroyed
187
* \return `RMW_RET_OK` if successful, or
188
* \return `RMW_RET_INVALID_ARGUMENT` if node is null, or
0 commit comments