Skip to main content

reset_thread_state

Function reset_thread_state 

Source
pub fn reset_thread_state()
Expand description

Drop all per-thread security state (policy stack + MCP schema pins). Called by reset_thread_local_state so test runs sharing a thread cannot leak overrides or pins into each other.