Fix a specific condition where the control applet would still freeze in MK8D
Some checks failed
eden-license / license-header (pull_request) Failing after 24s

This commit is contained in:
MaranBr 2025-08-25 09:00:56 -04:00
parent 302509d84d
commit 9eff4c0326

View file

@ -101,12 +101,13 @@ Result ILibraryAppletAccessor::PushInData(SharedPointer<IStorage> storage) {
Result ILibraryAppletAccessor::PopOutData(Out<SharedPointer<IStorage>> out_storage) {
LOG_DEBUG(Service_AM, "called");
if (auto caller_applet = m_applet->caller_applet.lock(); caller_applet) {
Event m_system_event = caller_applet->lifecycle_manager.GetSystemEvent();
m_system_event.Signal();
caller_applet->lifecycle_manager.RequestResumeNotification();
m_system_event.Clear();
}
if (auto caller_applet = m_applet->caller_applet.lock(); caller_applet) {
Event m_system_event = caller_applet->lifecycle_manager.GetSystemEvent();
m_system_event.Signal();
caller_applet->lifecycle_manager.RequestResumeNotification();
m_system_event.Clear();
caller_applet->lifecycle_manager.SignalSystemEventIfNeeded();
}
R_RETURN(m_broker->GetOutData().Pop(out_storage.Get()));
}