mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2024-11-21 22:55:37 +01:00
Merge pull request #12606 from german77/npad_close
service: hid: Delete shared memory handle when unused
This commit is contained in:
commit
bd80929ac1
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user