mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-10-01 22:57:00 -05:00
Merge pull request #13956 from jordan-woyak/SA_RESTART
Main: Add SA_RESTART to sigaction sa_flags.
This commit is contained in:
@@ -301,7 +301,7 @@ int main(const int argc, char* argv[])
|
||||
struct sigaction sa;
|
||||
sa.sa_handler = signal_handler;
|
||||
sigemptyset(&sa.sa_mask);
|
||||
sa.sa_flags = SA_RESETHAND;
|
||||
sa.sa_flags = SA_RESTART | SA_RESETHAND;
|
||||
sigaction(SIGINT, &sa, nullptr);
|
||||
sigaction(SIGTERM, &sa, nullptr);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user