Skip to content

Commit 38f6cb2

Browse files
committed
plugins exts REFACTOR clarify inline destroy usecase
1 parent e98dd60 commit 38f6cb2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/plugins_exts.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1172,8 +1172,10 @@ LIBYANG_API_DECL void lyplg_ext_schema_mount_destroy_shared_contexts(struct lysc
11721172
* @brief Destroy all the inline contexts for a given libyang context.
11731173
*
11741174
* For standard contexts this is done automatically when the context is destroyed.
1175+
* Useful when using a long-lived libyang context for cleaning up memory after completing
1176+
* operations with schema mount extension data that require inline contexts.
11751177
*
1176-
* Inline contexts are not supported in printed contexts.
1178+
* Inline contexts are currently not supported in printed contexts.
11771179
*
11781180
* @param[in] ext Compiled extension instance of a schema mount point. All the inline schema mount
11791181
* contexts that belong to the same libyang context as @p ext will be destroyed.

0 commit comments

Comments
 (0)