diff options
author | Liam <byteslice@airmail.cc> | 2022-12-17 15:54:34 -0500 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2022-12-17 16:26:25 -0500 |
commit | 92ce241d4d49baaefb610480f65db73271f0c015 (patch) | |
tree | 8e9bd9689685c51357e10ff283842ea5cc0086ce /src | |
parent | d3123079e887710580b622b444a642ae298ddec0 (diff) |
qt: use _exit instead of exit on SIGINT
Diffstat (limited to 'src')
-rw-r--r-- | src/yuzu/main.cpp | 2 |
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() { void GMainWindow::HandleSigInterrupt(int sig) { if (sig == SIGINT) { - exit(1); + _exit(1); } // Calling into Qt directly from a signal handler is not safe, |