From f8e6d6f1a51a08203d35fcc23519643ae8e4870d Mon Sep 17 00:00:00 2001 From: MaranBr Date: Mon, 25 Aug 2025 11:54:57 -0400 Subject: [PATCH] Clean up the code --- src/core/hle/service/am/service/library_applet_accessor.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/core/hle/service/am/service/library_applet_accessor.cpp b/src/core/hle/service/am/service/library_applet_accessor.cpp index 7820df4d8d..b603cdb573 100644 --- a/src/core/hle/service/am/service/library_applet_accessor.cpp +++ b/src/core/hle/service/am/service/library_applet_accessor.cpp @@ -105,10 +105,9 @@ Result ILibraryAppletAccessor::PushInData(SharedPointer storage) { Result ILibraryAppletAccessor::PopOutData(Out> 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.GetSystemEvent().Signal(); caller_applet->lifecycle_manager.RequestResumeNotification(); - m_system_event.Clear(); + caller_applet->lifecycle_manager.GetSystemEvent().Clear(); caller_applet->lifecycle_manager.SignalSystemEventIfNeeded(); } R_RETURN(m_broker->GetOutData().Pop(out_storage.Get()));