mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-05-15 01:56:59 +02:00
core: Close all KEvents
This commit is contained in:
parent
99b8976a5f
commit
4e453935a3
6 changed files with 26 additions and 5 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue