mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-08-17 15:58:16 -05:00
Merge pull request #13956 from jordan-woyak/SA_RESTART
Main: Add SA_RESTART to sigaction sa_flags.
This commit is contained in:
@@ -156,7 +156,7 @@ static void InstallSignalHandler()
|
||||
struct sigaction sa;
|
||||
sa.sa_handler = &SignalDaemon::HandleInterrupt;
|
||||
sigemptyset(&sa.sa_mask);
|
||||
sa.sa_flags = SA_RESETHAND;
|
||||
sa.sa_flags = SA_RESTART | SA_RESETHAND;
|
||||
sigaction(SIGINT, &sa, nullptr);
|
||||
sigaction(SIGTERM, &sa, nullptr);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user