mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-01-25 22:16:14 -05: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
@ -100,6 +100,8 @@ static void shutdown() {
|
|||||||
ShutdownMessage shutdown_message;
|
ShutdownMessage shutdown_message;
|
||||||
shared_memory.application_queue.push(shutdown_message);
|
shared_memory.application_queue.push(shutdown_message);
|
||||||
|
|
||||||
|
shared_memory.baseband_message = nullptr;
|
||||||
|
|
||||||
halt();
|
halt();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user