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