2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

qt: use _exit instead of exit on SIGINT

This commit is contained in:
Liam 2022-12-17 15:54:34 -05:00
parent d3123079e8
commit 92ce241d4d

View file

@ -1498,7 +1498,7 @@ void GMainWindow::SetupSigInterrupts() {
void GMainWindow::HandleSigInterrupt(int sig) {
if (sig == SIGINT) {
exit(1);
_exit(1);
}
// Calling into Qt directly from a signal handler is not safe,