From d6a2abcb9e39edcd6a67123b3249f833e02867c7 Mon Sep 17 00:00:00 2001 From: vvaltman Date: Wed, 17 Jun 2015 16:49:42 +0300 Subject: [PATCH] deleted livevent call from signal handler --- main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/main.c b/main.c index 48f7631..78484ff 100644 --- a/main.c +++ b/main.c @@ -834,9 +834,9 @@ void sig_term_handler (int signum __attribute__ ((unused))) { if (write (1, "SIGTERM/SIGINT received\n", 25) < 0) { // Sad thing } - if (TLS && TLS->ev_base) { - event_base_loopbreak (TLS->ev_base); - } + //if (TLS && TLS->ev_base) { + // event_base_loopbreak (TLS->ev_base); + //} sigterm_cnt ++; }