mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-04-18 14:20:06 +00:00
Fix SIGTERM unexpectedly quitting the host app
This commit is contained in:
@@ -351,7 +351,7 @@ int SDLCALL signalHandlerThread(void* data)
|
||||
if (session != nullptr) {
|
||||
if (sig == SIGTERM) {
|
||||
// If this is a SIGTERM, set the flag to quit
|
||||
session->setShouldExitAfterQuit();
|
||||
session->setShouldExit();
|
||||
}
|
||||
|
||||
// Stop the streaming session
|
||||
|
||||
Reference in New Issue
Block a user