Fix SIGTERM unexpectedly quitting the host app

This commit is contained in:
Cameron Gutman
2025-12-23 01:09:21 -06:00
parent 85ea28287e
commit b80d2a00c0
4 changed files with 17 additions and 10 deletions

View File

@@ -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