From 40609fee40d470ae00a528a87bb3939bbd5e5b6e Mon Sep 17 00:00:00 2001 From: john30 Date: Sat, 22 Apr 2017 19:14:07 +0200 Subject: [PATCH] 52a1675 --- src/ebusd/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ebusd/main.cpp b/src/ebusd/main.cpp index afcd37e1..0b2ad941 100644 --- a/src/ebusd/main.cpp +++ b/src/ebusd/main.cpp @@ -669,11 +669,11 @@ void signalHandler(int sig) { break; case SIGINT: logNotice(lf_main, "SIGINT received"); - s_mainLoop->join(); + s_mainLoop->shutdown(); break; case SIGTERM: logNotice(lf_main, "SIGTERM received"); - s_mainLoop->join(); + s_mainLoop->shutdown(); break; default: logNotice(lf_main, "undefined signal %s", strsignal(sig));