Fix SIGTERM unexpectedly quitting the host app

This commit is contained in:
Cameron Gutman committed 2025-12-23 01:09:21 -06:00
1 parent 85ea28287e
commit b80d2a00c0
4 files changed
+17 -10

No files matched your search

+1 -1
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