mirror of
https://github.com/eried/portapack-mayhem.git
synced 2024-10-01 01:26:06 -04:00
Clear baseband message for non-shutdown messages.
This commit is contained in:
parent
eac4cf678a
commit
dbd0c17c2f
@ -92,7 +92,6 @@ void EventDispatcher::handle_baseband_queue() {
|
||||
const auto message = shared_memory.baseband_message;
|
||||
if( message ) {
|
||||
on_message(message);
|
||||
shared_memory.baseband_message = nullptr;
|
||||
}
|
||||
}
|
||||
|
||||
@ -104,6 +103,7 @@ void EventDispatcher::on_message(const Message* const message) {
|
||||
|
||||
default:
|
||||
on_message_default(message);
|
||||
shared_memory.baseband_message = nullptr;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user