#[unsafe(no_mangle)]pub unsafe extern "C" fn phytrace_agent_destroy(
agent: *mut PhyTraceAgentHandle,
)Expand description
Destroy and free an agent handle.
Calls stop if the agent is still running, then frees all memory. Passing null is a no-op.