Fix SIGTERM unexpectedly quitting the host app
This commit is contained in:
parent
85ea28287e
commit
b80d2a00c0
4 changed files with 17 additions and 10 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue