diff options
author | liamwhite <[email protected]> | 2024-01-07 20:41:11 -0500 |
---|---|---|
committer | GitHub <[email protected]> | 2024-01-07 20:41:11 -0500 |
commit | bd80929ac17be0760a2226cc6b528dd4229d8375 (patch) | |
tree | 59c646dd8c567c01512c1e089e08cdfe0f925f3d /src/hid_core | |
parent | 2a4ac7cfac9ebdc916a95dbc576a850162886b13 (diff) | |
parent | bc2d1262d7bb4f6d4f97d0fd3d5a495f5e8a972e (diff) | |
download | yuzu-mainline-bd80929ac17be0760a2226cc6b528dd4229d8375.tar.gz yuzu-mainline-bd80929ac17be0760a2226cc6b528dd4229d8375.zip |
Merge pull request #12606 from german77/npad_close
service: hid: Delete shared memory handle when unused
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(); } } |