Skip to content

Commit 9db785b

Browse files
committed
chore: Remove unnecessary ctrl-c handler
1 parent 6da70d1 commit 9db785b

File tree

1 file changed

+0
-2
lines changed
  • crates/uv/src/commands/tool

1 file changed

+0
-2
lines changed

crates/uv/src/commands/tool/run.rs

-2
Original file line numberDiff line numberDiff line change
@@ -236,8 +236,6 @@ pub(crate) async fn run(
236236
// Ignore signals in the parent process, deferring them to the child. This is safe as long as
237237
// the command is the last thing that runs in this process; otherwise, we'd need to restore the
238238
// signal handlers after the command completes.
239-
let _handler = tokio::spawn(async { while tokio::signal::ctrl_c().await.is_ok() {} });
240-
241239
let mut term_signal = signal(SignalKind::terminate())?;
242240
let mut int_signal = signal(SignalKind::interrupt())?;
243241

0 commit comments

Comments
 (0)