mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-19 22:00:28 +01:00
[apps/code] Clean ConsoleController code
This commit is contained in:
committed by
EmilieNumworks
parent
33072eb9b1
commit
1782326ed8
@@ -93,10 +93,9 @@ App::~App() {
|
||||
|
||||
bool App::handleEvent(Ion::Events::Event event) {
|
||||
if (event == Ion::Events::Home && m_consoleController.inputRunLoopActive()) {
|
||||
// We need to return true here because we want to actually exit from the
|
||||
// input run loop, which requires ending a dispatchEvent cycle.
|
||||
m_consoleController.askInputRunLoopTermination();
|
||||
m_consoleController.interrupt();
|
||||
/* We need to return true here because we want to actually exit from the
|
||||
* input run loop, which requires ending a dispatchEvent cycle. */
|
||||
m_consoleController.terminateInputLoop();
|
||||
if (m_modalViewController.isDisplayingModal()) {
|
||||
m_modalViewController.dismissModalViewController();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user