Clean up the SIGINT handler.
This commit is contained in:
parent
a38e0d6213
commit
1e7d1cd3c7
1 changed files with 3 additions and 2 deletions
|
@ -454,9 +454,10 @@ int main_loop(void) {
|
|||
|
||||
#ifndef HAVE_MINGW
|
||||
signal_del(&sighup);
|
||||
signal_del(&sigalrm);
|
||||
signal_del(&sigquit);
|
||||
signal_del(&sigterm);
|
||||
signal_del(&sigquit);
|
||||
signal_del(&sigint);
|
||||
signal_del(&sigalrm);
|
||||
#endif
|
||||
|
||||
timeout_del(&periodictimer);
|
||||
|
|
Loading…
Reference in a new issue