mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-05-20 15:40:26 -04:00
Use app-local queue for messages coming from application.
Messages are now deferred until application thread call stack unwinds, events are checked.
This commit is contained in:
parent
dbe735233a
commit
76c5fe96af
3 changed files with 6 additions and 6 deletions
|
@ -63,7 +63,7 @@ SystemStatusView::SystemStatusView() {
|
|||
|
||||
button_sleep.on_select = [this](ImageButton&) {
|
||||
DisplaySleepMessage message;
|
||||
EventDispatcher::send_message(&message);
|
||||
EventDispatcher::send_message(message);
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue