mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-12-18 19:41:01 +01:00
service: hid: Delete shared memory handle when unused
This commit is contained in:
parent
1220309323
commit
bc2d1262d7
1 changed files with 1 additions and 0 deletions
|
@ -130,6 +130,7 @@ void AppletResource::FreeAppletResourceId(u64 aruid) {
|
||||||
if (aruid_data.flag.is_assigned) {
|
if (aruid_data.flag.is_assigned) {
|
||||||
aruid_data.shared_memory_format = nullptr;
|
aruid_data.shared_memory_format = nullptr;
|
||||||
aruid_data.flag.is_assigned.Assign(false);
|
aruid_data.flag.is_assigned.Assign(false);
|
||||||
|
shared_memory_holder[index].Finalize();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue