fixed: check for SIGTERM in the signal handler

This commit is contained in:
Bob 2016-09-04 22:19:08 +02:00
parent c9db160bc4
commit b699d5961f

View file

@ -331,7 +331,7 @@ void CAmpSwitch::PJackInfoShutdownCallback(jack_status_t code, const char *reaso
void CAmpSwitch::SignalHandler(int signum) void CAmpSwitch::SignalHandler(int signum)
{ {
if (signum == SIGINT || signum == SIGKILL) if (signum == SIGINT || signum == SIGTERM)
g_stop = true; g_stop = true;
} }