From 082148309d73af04df07aa78b6117576940df5dd Mon Sep 17 00:00:00 2001 From: yellowhatter Date: Sun, 15 Sep 2024 14:22:02 +0300 Subject: [PATCH] - There is no SIGHUP mapping on win --- commons/zenoh-shm/src/cleanup.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/commons/zenoh-shm/src/cleanup.rs b/commons/zenoh-shm/src/cleanup.rs index 0b22d2b1c2..ac29dfe08f 100644 --- a/commons/zenoh-shm/src/cleanup.rs +++ b/commons/zenoh-shm/src/cleanup.rs @@ -30,6 +30,7 @@ impl Cleanup { // todo: this is a workaround to make sure Cleanup will be executed even if process terminates via signal handlers // that execute std::terminate instead of exit for signal in [ + #[cfg(not(target_os = "windows"))] SIGHUP, SIGTERM, SIGINT,