mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-06-18 22:50:57 +00:00
Fix macOS and Steam Link build
This commit is contained in:
+2
-2
@@ -359,7 +359,7 @@ int SDLCALL signalHandlerThread(void* data)
|
|||||||
// Exit immediately if we haven't changed state since last attempt
|
// Exit immediately if we haven't changed state since last attempt
|
||||||
if (session == lastSession || requestedQuit) {
|
if (session == lastSession || requestedQuit) {
|
||||||
SDL_LogInfo(SDL_LOG_CATEGORY_APPLICATION, "Exiting immediately on second signal");
|
SDL_LogInfo(SDL_LOG_CATEGORY_APPLICATION, "Exiting immediately on second signal");
|
||||||
_exit(1);
|
_Exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (sig == SIGTERM) {
|
if (sig == SIGTERM) {
|
||||||
@@ -376,7 +376,7 @@ int SDLCALL signalHandlerThread(void* data)
|
|||||||
// Exit immediately if we haven't changed state since last attempt
|
// Exit immediately if we haven't changed state since last attempt
|
||||||
if (requestedQuit) {
|
if (requestedQuit) {
|
||||||
SDL_LogInfo(SDL_LOG_CATEGORY_APPLICATION, "Exiting immediately on second signal");
|
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
|
// If we're not streaming, we'll close the whole app
|
||||||
|
|||||||
Reference in New Issue
Block a user