aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/hle/service/am/frontend/applets.cpp
diff options
context:
space:
mode:
authoryuzubot <[email protected]>2024-03-04 13:02:54 +0000
committeryuzubot <[email protected]>2024-03-04 13:02:54 +0000
commit537296095ab24eddcb196b5ef98004f91de9c8c2 (patch)
treee75e9e2441dc3f8657cc42f2daaae08737949c2b /src/core/hle/service/am/frontend/applets.cpp
parent2ddac7b02b660bbc7bdfe4fef240699df6d52e64 (diff)
downloadyuzu-mainline-master.tar.gz
yuzu-mainline-master.zip
"Merge Tagged PR 13018"HEADmaster
Diffstat (limited to 'src/core/hle/service/am/frontend/applets.cpp')
-rw-r--r--src/core/hle/service/am/frontend/applets.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/core/hle/service/am/frontend/applets.cpp b/src/core/hle/service/am/frontend/applets.cpp
index e662c6cd6..cdd431857 100644
--- a/src/core/hle/service/am/frontend/applets.cpp
+++ b/src/core/hle/service/am/frontend/applets.cpp
@@ -69,7 +69,11 @@ void FrontendApplet::PushInteractiveOutData(std::shared_ptr<IStorage> storage) {
}
void FrontendApplet::Exit() {
- applet.lock()->caller_applet_broker->SignalCompletion();
+ auto applet_ = applet.lock();
+
+ std::scoped_lock lk{applet_->lock};
+ applet_->is_completed = true;
+ applet_->state_changed_event.Signal();
}
FrontendAppletSet::FrontendAppletSet() = default;