Expand description
Generic RAII cleanup guard for test-owned resources.
Structsยง
- Kill
OnDrop - Runs a cleanup closure exactly once when dropped, including during panic unwinding. Use it to guarantee spawned processes are killed, PTYs are closed, or temp state is removed even when an assertion fails mid-test.