mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-15 08:30:02 +00:00
add missing modals release calls
This commit is contained in:
parent
da7efec6a6
commit
0d2ecc1db3
1 changed files with 4 additions and 0 deletions
|
|
@ -717,6 +717,8 @@ fn wrapped_main() -> ! {
|
|||
Some(Opcode::FinishProgress) => msg_scalar_unpack!(msg, caller, _, _, _, {
|
||||
#[cfg(not(any(feature = "hosted-baosec", feature = "cramium-soc")))]
|
||||
renderer_modal.gam.relinquish_focus().unwrap();
|
||||
#[cfg(any(feature = "hosted-baosec", feature = "cramium-soc"))]
|
||||
renderer_modal.gfx.release_modal().unwrap();
|
||||
op = RendererState::None;
|
||||
// unblock the caller, which was forwarded on as the first argument
|
||||
xous::return_scalar(xous::sender::Sender::from_usize(caller), 0).ok();
|
||||
|
|
@ -769,6 +771,8 @@ fn wrapped_main() -> ! {
|
|||
Some(Opcode::DoCloseDynamicNotification) => {
|
||||
#[cfg(not(any(feature = "hosted-baosec", feature = "cramium-soc")))]
|
||||
renderer_modal.gam.relinquish_focus().unwrap();
|
||||
#[cfg(any(feature = "hosted-baosec", feature = "cramium-soc"))]
|
||||
renderer_modal.gfx.release_modal().unwrap();
|
||||
dynamic_notification_active = false;
|
||||
op = RendererState::None;
|
||||
if let Some(sender) = dynamic_notification_listener.take() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue