Fix macOS and Steam Link build
This commit is contained in:
parent
f0626e8cae
commit
ddc6675dc8
1 changed files with 2 additions and 2 deletions
|
|
@ -359,7 +359,7 @@ int SDLCALL signalHandlerThread(void* data)
|
|||
// Exit immediately if we haven't changed state since last attempt
|
||||
if (session == lastSession || requestedQuit) {
|
||||
SDL_LogInfo(SDL_LOG_CATEGORY_APPLICATION, "Exiting immediately on second signal");
|
||||
_exit(1);
|
||||
_Exit(1);
|
||||
}
|
||||
|
||||
if (sig == SIGTERM) {
|
||||
|
|
@ -376,7 +376,7 @@ int SDLCALL signalHandlerThread(void* data)
|
|||
// Exit immediately if we haven't changed state since last attempt
|
||||
if (requestedQuit) {
|
||||
SDL_LogInfo(SDL_LOG_CATEGORY_APPLICATION, "Exiting immediately on second signal");
|
||||
_exit(1);
|
||||
_Exit(1);
|
||||
}
|
||||
|
||||
// If we're not streaming, we'll close the whole app
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue