From 6b7dc2ced57bcd493ca39866ed268d28bdc27ded Mon Sep 17 00:00:00 2001 From: Roman Tarasov Date: Sun, 6 Sep 2026 23:08:40 +0300 Subject: [PATCH] fix: wake runtime waiters when STOP file is detected --- src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.c b/src/main.c index 3130cb9..9db3a5b 100644 --- a/src/main.c +++ b/src/main.c @@ -141,7 +141,7 @@ bool should_stop_requested(void) { } if (remove(KILL_FILE) == 0) { - g_stop_requested = 1; + request_shutdown_stop("STOP file " KILL_FILE); return true; } return false;