Compare commits
3 Commits
1ce63ff7bf
...
cd23d83a22
Author | SHA1 | Date | |
---|---|---|---|
|
cd23d83a22 | ||
56cc671593 | |||
0fd19c771f |
@ -6,6 +6,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
|
|
||||||
|
## [0.2.0] - 2024-08-07
|
||||||
|
|
||||||
|
### Added
|
||||||
|
- with ctrl-c signal
|
||||||
|
|
||||||
## [0.1.0] - 2024-08-07
|
## [0.1.0] - 2024-08-07
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
@ -3,7 +3,7 @@ members = ["crates/*"]
|
|||||||
resolver = "2"
|
resolver = "2"
|
||||||
|
|
||||||
[workspace.package]
|
[workspace.package]
|
||||||
version = "0.1.0"
|
version = "0.2.0"
|
||||||
|
|
||||||
[workspace.dependencies]
|
[workspace.dependencies]
|
||||||
mad = { path = "crates/mad" }
|
mad = { path = "crates/mad" }
|
||||||
|
@ -134,6 +134,10 @@ impl Mad {
|
|||||||
}
|
}
|
||||||
res = comp.run(job_cancellation) => {
|
res = comp.run(job_cancellation) => {
|
||||||
error_tx.send(res).await
|
error_tx.send(res).await
|
||||||
|
|
||||||
|
}
|
||||||
|
_ = tokio::signal::ctrl_c() => {
|
||||||
|
error_tx.send(Ok(())).await
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user