Linux: Exit on SIGTERM (#1116)

This commit is contained in:
goeiecool9999
2024-03-11 02:13:53 +01:00
committed by GitHub
parent 788da3cdf7
commit ccabd93159
@@ -155,6 +155,7 @@ void ExceptionHandler_Init()
action.sa_handler = handler_SIGINT;
sigaction(SIGINT, &action, nullptr);
sigaction(SIGTERM, &action, nullptr);
action.sa_flags = SA_SIGINFO;
action.sa_handler = nullptr;