Skip to main content

teardown_for_closed_session

Function teardown_for_closed_session 

Source
pub(crate) fn teardown_for_closed_session(ws: &Workspace, key: &SessionSlot)
Expand description

Abandon everything key has in flight: a live take goes back (dropping the entry closes the stop channel, which is what makes its runner abandon it) and a submitted take loses its cancel route. Called when the session closes.