pub(crate) fn close_for_stop(agent_block: &str)Expand description
The agent in the pane agent_block was stopped: its sessions close with it, at once (the sweep is woken). A Stop docks
only the floating panes the person sees, so nothing else would end them. Not closed here: the teardown that calls this
is itself part of closing a pane, and a close from inside it would be a cycle.