Do not block SIGTERM from arriving at Java app
This commit is contained in:
parent
7330e76913
commit
fe805cae57
|
@ -355,7 +355,6 @@ JNIEXPORT void JNICALL Java_com_fazecast_jSerialComm_SerialPort_initializeLibrar
|
||||||
ignoreAction.sa_mask = blockMask;
|
ignoreAction.sa_mask = blockMask;
|
||||||
sigaction(SIGIO, &ignoreAction, NULL);
|
sigaction(SIGIO, &ignoreAction, NULL);
|
||||||
sigaction(SIGHUP, &ignoreAction, NULL);
|
sigaction(SIGHUP, &ignoreAction, NULL);
|
||||||
sigaction(SIGTERM, &ignoreAction, NULL);
|
|
||||||
sigaction(SIGCONT, &ignoreAction, NULL);
|
sigaction(SIGCONT, &ignoreAction, NULL);
|
||||||
sigaction(SIGUSR1, &ignoreAction, NULL);
|
sigaction(SIGUSR1, &ignoreAction, NULL);
|
||||||
sigaction(SIGUSR2, &ignoreAction, NULL);
|
sigaction(SIGUSR2, &ignoreAction, NULL);
|
||||||
|
|
Loading…
Reference in New Issue