mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-07-11 17:19:48 -04:00
Clear baseband message at end of shutdown().
Allow baseband to shut down completely before shutdown message is acknowledged.
This commit is contained in:
parent
dbd0c17c2f
commit
b2d5e47308
1 changed files with 2 additions and 0 deletions
|
@ -100,6 +100,8 @@ static void shutdown() {
|
|||
ShutdownMessage shutdown_message;
|
||||
shared_memory.application_queue.push(shutdown_message);
|
||||
|
||||
shared_memory.baseband_message = nullptr;
|
||||
|
||||
halt();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue