We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 50415e5 commit bce521cCopy full SHA for bce521c
src/actions.rs
@@ -325,7 +325,7 @@ pub fn steps_system(
325
#[cfg(feature = "trace")]
326
trace!("StepsAction has been cancelled. Cancelling current step {:?} before finalizing.", active_ent);
327
let mut step_state = states.get_mut(active_ent).expect("oops");
328
- if *step_state == Requested || *step_state == Executing {
+ if *step_state == Requested || *step_state == Executing || *step_state == Init {
329
*step_state = Cancelled;
330
} else if *step_state == Failure || *step_state == Success {
331
*states.get_mut(seq_ent).unwrap() = step_state.clone();
0 commit comments