Skip to main content

discard

Function discard 

Source
pub fn discard(block_id: &str)
Expand description

Drop a block’s controller and process tracker at once, with no graceful phase: for a controller that isn’t an agent to wind down (a PtyShell drawer the user closed, a /btw throwaway, a spawn being rolled back) and as the backstop after a close that already ran the teardown (idempotent; finds nothing left).