mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-06-12 09:02:56 -04:00
Hide implementation of MessageHandlerMap.
This commit is contained in:
parent
2aa8ae0d1f
commit
a7226820d0
9 changed files with 95 additions and 78 deletions
|
@ -184,10 +184,7 @@ private:
|
|||
while( !shared_memory.application_queue.is_empty() ) {
|
||||
auto message = shared_memory.application_queue.pop();
|
||||
|
||||
auto& fn = context.message_map[message->id];
|
||||
if( fn ) {
|
||||
fn(message);
|
||||
}
|
||||
context.message_map.send(message);
|
||||
|
||||
message->state = Message::State::Free;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue