Function nemo_relay_plugin_host_activation_free
Function nemo_relay_plugin_host_activation_free
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.
#[unsafe(no_mangle)]pub unsafe extern "C" fn nemo_relay_plugin_host_activation_free(
ptr: *mut *mut FfiPluginHostActivation,
)
Free a dynamic plugin activation handle previously returned by nemo_relay_plugin_initialize.
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_plugin_initialize. The caller must ensure that no operation, including nemo_relay_plugin_host_activation_close, accesses the activation concurrently with this call and that no operation can use the handle after this call begins.