Skip to content

Commit

Permalink
add an important note
Browse files Browse the repository at this point in the history
Signed-off-by: onur-ozkan <[email protected]>
  • Loading branch information
onur-ozkan committed Sep 10, 2024
1 parent 07b9a6d commit e7d03ad
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mm2src/mm2_main/src/mm2.rs
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ pub async fn lp_main(
.into_mm_arc();
ctx_cb(try_s!(ctx.ffi_handle()));

// It's important to spawn this task as soon as `Ctx` is in the correct state.
#[cfg(not(target_arch = "wasm32"))]
spawn_ctrl_c_handler(ctx.clone());

Expand Down

0 comments on commit e7d03ad

Please sign in to comment.