diff options
author | german77 <juangerman-13@hotmail.com> | 2023-10-29 20:45:53 +0100 |
---|---|---|
committer | german77 <juangerman-13@hotmail.com> | 2023-10-29 20:52:12 +0100 |
commit | 6e883a26da52b84086340ca5b5d38f55ef04bf8d (patch) | |
tree | 0c804e775e8a7313bf3e55d4cbfa5c6142a73851 /src/core/hle/service/pctl/pctl_module.cpp | |
parent | Merge pull request #11880 from abouvier/unbundle-stb (diff) | |
download | yuzu-6e883a26da52b84086340ca5b5d38f55ef04bf8d.tar yuzu-6e883a26da52b84086340ca5b5d38f55ef04bf8d.tar.gz yuzu-6e883a26da52b84086340ca5b5d38f55ef04bf8d.tar.bz2 yuzu-6e883a26da52b84086340ca5b5d38f55ef04bf8d.tar.lz yuzu-6e883a26da52b84086340ca5b5d38f55ef04bf8d.tar.xz yuzu-6e883a26da52b84086340ca5b5d38f55ef04bf8d.tar.zst yuzu-6e883a26da52b84086340ca5b5d38f55ef04bf8d.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/service/pctl/pctl_module.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/core/hle/service/pctl/pctl_module.cpp b/src/core/hle/service/pctl/pctl_module.cpp index 938330dd0..6a7fd72bc 100644 --- a/src/core/hle/service/pctl/pctl_module.cpp +++ b/src/core/hle/service/pctl/pctl_module.cpp @@ -141,6 +141,12 @@ public: service_context.CreateEvent("IParentalControlService::RequestSuspensionEvent"); } + ~IParentalControlService() { + service_context.CloseEvent(synchronization_event); + service_context.CloseEvent(unlinked_event); + service_context.CloseEvent(request_suspension_event); + }; + private: bool CheckFreeCommunicationPermissionImpl() const { if (states.temporary_unlocked) { |