mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-08-19 17:13:29 -05:00
Main: Add SA_RESTART to signal handler 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