mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-01-09 11:17:30 -03:00
Linux: Exit on SIGTERM (#1116)
This commit is contained in:
parent
788da3cdf7
commit
ccabd93159
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue