We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 07b9a6d commit ae8d70eCopy full SHA for ae8d70e
mm2src/mm2_main/src/mm2.rs
@@ -170,6 +170,8 @@ pub async fn lp_main(
170
}
171
172
/// Handles CTRL-C signals and shutdowns the KDF runtime gracefully.
173
+///
174
+/// It's important to spawn this task as soon as `Ctx` is in the correct state.
175
#[cfg(not(target_arch = "wasm32"))]
176
fn spawn_ctrl_c_handler(ctx: mm2_core::mm_ctx::MmArc) {
177
ctx.spawner().spawn(async move {
0 commit comments