diff --git a/crates/mad/src/lib.rs b/crates/mad/src/lib.rs index 9b586ac..4a5c3f0 100644 --- a/crates/mad/src/lib.rs +++ b/crates/mad/src/lib.rs @@ -134,6 +134,10 @@ impl Mad { } res = comp.run(job_cancellation) => { error_tx.send(res).await + + } + _ = tokio::signal::ctrl_c() => { + error_tx.send(Ok(())).await } } });