Skip to main content

record_turns_in_flight

Function record_turns_in_flight 

Source
async fn record_turns_in_flight(state: &AppState, ids: &[String])
Expand description

Add the agents with a turn running among the panes in ids to the list the next start tells to carry on (upgrade_notice::record_interrupted). A GUI quit has closed most of them already (note_turn_cut_off_by_quit), so this catches what is left when srv exits on its own. It only adds: none running leaves the list as it is. Nothing here can fail the exit.