From fb0bb665eb3635fc2511cd1c30ae8ba7de9c23b1 Mon Sep 17 00:00:00 2001 From: Bryan Biedenkapp Date: Thu, 18 Jul 2024 12:54:25 -0400 Subject: [PATCH] fix issue where SIGTERM or SIGINT was not properly stopping the process; --- src/host/Host.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/host/Host.cpp b/src/host/Host.cpp index f2082d60..0740153f 100644 --- a/src/host/Host.cpp +++ b/src/host/Host.cpp @@ -1206,9 +1206,7 @@ int Host::run() } hasTxShutdown = true; - if (!m_modem->hasTX()) { - killed = true; - } + killed = true; } m_modeTimer.clock(ms); @@ -1816,7 +1814,6 @@ void* Host::threadPresence(void* arg) StopWatch stopWatch; stopWatch.start(); - LogDebug(LOG_HOST, "started presence notifier"); while (!g_killed) { // scope is intentional {