deleted livevent call from signal handler
This commit is contained in:
parent
b43ab0a522
commit
d6a2abcb9e
6
main.c
6
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 ++;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user