mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-10-22 16:17:20 +00:00
Fix SIGTERM unexpectedly quitting the host app
This commit is contained in:
1 parent
85ea28287e
commit
b80d2a00c0
4 files changed
+17
-10
No files matched your search
+1
-1
@@ -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