core: Close all KEvents
This commit is contained in:
parent
43be2bfe33
commit
6e883a26da
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