From 28b362adfc49324e20af5ecb1530f89eb91c4ed5 Mon Sep 17 00:00:00 2001 From: Nathan Whitaker <17734409+nathanwhit@users.noreply.github.com> Date: Mon, 11 Mar 2024 10:22:28 -0700 Subject: fix(runtime): Restore default signal handler after user handlers are unregistered (#22757) Fixes #22724. Fixes #7164. This does add a dependency on `signal-hook`, but it's just a higher level API on top of `signal-hook-registry` (which we and `tokio` already depend on) and doesn't add any transitive deps. --- runtime/Cargo.toml | 1 + 1 file changed, 1 insertion(+) (limited to 'runtime/Cargo.toml') diff --git a/runtime/Cargo.toml b/runtime/Cargo.toml index 856643dba..723a4b2a9 100644 --- a/runtime/Cargo.toml +++ b/runtime/Cargo.toml @@ -119,6 +119,7 @@ regex.workspace = true ring.workspace = true rustyline = { workspace = true, features = ["custom-bindings"] } serde.workspace = true +signal-hook = "0.3.17" signal-hook-registry = "1.4.0" tokio.workspace = true tokio-metrics.workspace = true -- cgit v1.2.3