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
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue