fixed: check for SIGTERM in the signal handler
This commit is contained in:
parent
c9db160bc4
commit
b699d5961f
1 changed files with 1 additions and 1 deletions
|
@ -331,7 +331,7 @@ void CAmpSwitch::PJackInfoShutdownCallback(jack_status_t code, const char *reaso
|
|||
|
||||
void CAmpSwitch::SignalHandler(int signum)
|
||||
{
|
||||
if (signum == SIGINT || signum == SIGKILL)
|
||||
if (signum == SIGINT || signum == SIGTERM)
|
||||
g_stop = true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue