summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar Liam2022-12-17 15:54:34 -0500
committerGravatar Liam2022-12-17 16:26:25 -0500
commit92ce241d4d49baaefb610480f65db73271f0c015 (patch)
tree8e9bd9689685c51357e10ff283842ea5cc0086ce /src
parentEmuThread: refactor (diff)
downloadyuzu-92ce241d4d49baaefb610480f65db73271f0c015.tar.gz
yuzu-92ce241d4d49baaefb610480f65db73271f0c015.tar.xz
yuzu-92ce241d4d49baaefb610480f65db73271f0c015.zip
qt: use _exit instead of exit on SIGINT
Diffstat (limited to 'src')
-rw-r--r--src/yuzu/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp
index c5285ffc9..c6f285dc2 100644
--- a/src/yuzu/main.cpp
+++ b/src/yuzu/main.cpp
@@ -1498,7 +1498,7 @@ void GMainWindow::SetupSigInterrupts() {
1498 1498
1499void GMainWindow::HandleSigInterrupt(int sig) { 1499void GMainWindow::HandleSigInterrupt(int sig) {
1500 if (sig == SIGINT) { 1500 if (sig == SIGINT) {
1501 exit(1); 1501 _exit(1);
1502 } 1502 }
1503 1503
1504 // Calling into Qt directly from a signal handler is not safe, 1504 // Calling into Qt directly from a signal handler is not safe,