deleted livevent call from signal handler

This commit is contained in:
vvaltman 2015-06-17 16:49:42 +03:00
parent b43ab0a522
commit d6a2abcb9e

6
main.c
View File

@ -834,9 +834,9 @@ void sig_term_handler (int signum __attribute__ ((unused))) {
if (write (1, "SIGTERM/SIGINT received\n", 25) < 0) { if (write (1, "SIGTERM/SIGINT received\n", 25) < 0) {
// Sad thing // Sad thing
} }
if (TLS && TLS->ev_base) { //if (TLS && TLS->ev_base) {
event_base_loopbreak (TLS->ev_base); // event_base_loopbreak (TLS->ev_base);
} //}
sigterm_cnt ++; sigterm_cnt ++;
} }