mirror of
https://github.com/cemu-project/Cemu.git
synced 2024-11-25 18:46:55 +01:00
Linux: Exit on SIGTERM (#1116)
This commit is contained in:
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;
|
||||
|
Loading…
Reference in New Issue
Block a user