core: Close all KEvents

This commit is contained in:
german77
2023-10-29 13:45:53 -06:00
parent 43be2bfe33
commit 6e883a26da
6 changed files with 26 additions and 5 deletions

View File

@ -19,7 +19,9 @@ Controller_Palma::Controller_Palma(Core::HID::HIDCore& hid_core_, u8* raw_shared
operation_complete_event = service_context.CreateEvent("hid:PalmaOperationCompleteEvent");
}
Controller_Palma::~Controller_Palma() = default;
Controller_Palma::~Controller_Palma() {
service_context.CloseEvent(operation_complete_event);
};
void Controller_Palma::OnInit() {}