fn drop_ended( state: &AppState, made: &mut HashMap<String, u64>, running: impl Fn(&str) -> bool, ) -> Vec<String>
Removes the entries made here whose process has ended. Returns the blocks it cleared.