Skip to main content

finish_close

Function finish_close 

Source
pub(crate) async fn finish_close(state: &AppState, block_id: &str)
Expand description

After the saga: purge the block’s persisted broker history and its tool statuses, and lift the respawn guard. If the block somehow survived (dispatch failed), it keeps its stopped state and can be closed again.