Skip to content

Commit

Permalink
wip: blocking
Browse files Browse the repository at this point in the history
  • Loading branch information
oneofthezombies committed Feb 11, 2024
1 parent 1ffb2da commit 9188448
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/libs/kill_tree/src/unix.rs
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,8 @@ pub(crate) mod tokio {

#[instrument]
async fn kill(process_id: ProcessId, signal: nix::sys::signal::Signal) -> Result<KillOutput> {
::tokio::task::spawn_blocking(move || crate::unix::blocking::kill(process_id_sign, signal))
.await;
::tokio::task::spawn_blocking(move || crate::unix::blocking::kill(process_id, signal))
.await?
}
}

Expand Down

0 comments on commit 9188448

Please sign in to comment.