> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.nvidia.com/nemo/relay/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.nvidia.com/nemo/relay/_mcp/server.

# Function nemo_relay_plugin_activation_free

> Free a dynamic plugin activation handle previously returned by `nemo_relay_initialize_with_dynamic_plugins`.

Generated from `cargo doc --no-deps -p nemo-relay -p nemo-relay-adaptive -p nemo-relay-pii-redaction -p nemo-relay-ffi -p nemo-relay-types -p nemo-relay-plugin -p nemo-relay-worker-proto -p nemo-relay-worker`.

<pre />

Free a dynamic plugin activation handle previously returned by `nemo_relay_initialize_with_dynamic_plugins`.

Any activation that has not already been explicitly cleared is cleaned up best-effort by its Rust destructor before the allocation is released. The caller's handle is set to null before cleanup, making repeated calls through the same handle variable safe when they are sequential.

## Safety

`ptr` must be null or point to a writable activation-handle variable whose value is null or was returned by `nemo_relay_initialize_with_dynamic_plugins`. The caller must ensure that no operation, including `nemo_relay_plugin_activation_clear`, accesses the activation concurrently with this call and that no operation can use the handle after this call begins.