diff options
author | liamwhite <liamwhite@users.noreply.github.com> | 2024-01-08 02:41:11 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-08 02:41:11 +0100 |
commit | bd80929ac17be0760a2226cc6b528dd4229d8375 (patch) | |
tree | 59c646dd8c567c01512c1e089e08cdfe0f925f3d /src/hid_core | |
parent | Merge pull request #12600 from german77/npad-impl (diff) | |
parent | service: hid: Delete shared memory handle when unused (diff) | |
download | yuzu-bd80929ac17be0760a2226cc6b528dd4229d8375.tar yuzu-bd80929ac17be0760a2226cc6b528dd4229d8375.tar.gz yuzu-bd80929ac17be0760a2226cc6b528dd4229d8375.tar.bz2 yuzu-bd80929ac17be0760a2226cc6b528dd4229d8375.tar.lz yuzu-bd80929ac17be0760a2226cc6b528dd4229d8375.tar.xz yuzu-bd80929ac17be0760a2226cc6b528dd4229d8375.tar.zst yuzu-bd80929ac17be0760a2226cc6b528dd4229d8375.zip |
Diffstat (limited to 'src/hid_core')
-rw-r--r-- | src/hid_core/resources/applet_resource.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/hid_core/resources/applet_resource.cpp b/src/hid_core/resources/applet_resource.cpp index d09a525c6..a84826050 100644 --- a/src/hid_core/resources/applet_resource.cpp +++ b/src/hid_core/resources/applet_resource.cpp @@ -130,6 +130,7 @@ void AppletResource::FreeAppletResourceId(u64 aruid) { if (aruid_data.flag.is_assigned) { aruid_data.shared_memory_format = nullptr; aruid_data.flag.is_assigned.Assign(false); + shared_memory_holder[index].Finalize(); } } |