mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2026-01-31 15:58:07 +08:00
core: Close all KEvents
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user