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

@@ -144,7 +144,7 @@ void SdlInputHandler::performSpecialKeyCombo(KeyCombo combo)
"Detected quitAndExit key combo");
// Indicate that we want to exit afterwards
Session::get()->setShouldExitAfterQuit();
Session::get()->setShouldExit(true);
// Push a quit event to the main loop
SDL_Event quitExitEvent;