From 1ebf59c08494733d6b63eb1f478754f00c7e75fd Mon Sep 17 00:00:00 2001 From: vwkd <33468089+vwkd@users.noreply.github.com> Date: Tue, 1 Sep 2026 10:06:34 +0200 Subject: [PATCH] docs: remove stale SIGTERM on Windows warning --- examples/scripts/http_server_graceful_shutdown.ts | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/examples/scripts/http_server_graceful_shutdown.ts b/examples/scripts/http_server_graceful_shutdown.ts index 20be19f5d..4a7f31312 100644 --- a/examples/scripts/http_server_graceful_shutdown.ts +++ b/examples/scripts/http_server_graceful_shutdown.ts @@ -50,12 +50,9 @@ const onSigint = () => shutdown("SIGINT"); const onSigterm = () => shutdown("SIGTERM"); // SIGINT is what Ctrl+C sends, SIGTERM is what process managers, docker -// stop, and Kubernetes send first. Note that SIGTERM listeners are not -// supported on Windows. +// stop, and Kubernetes send first. Deno.addSignalListener("SIGINT", onSigint); -if (Deno.build.os !== "windows") { - Deno.addSignalListener("SIGTERM", onSigterm); -} +Deno.addSignalListener("SIGTERM", onSigterm); // Start a slow request, then send SIGTERM while it is still running: //