aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/service/hid/controllers/palma.cpp
diff options
context:
space:
mode:
authorFranco M <francomaro@gmail.com>2023-11-04 21:28:16 -0300
committerGitHub <noreply@github.com>2023-11-04 21:28:16 -0300
commit728aca770317b3f86961c8669ba9ae5c68570d3f (patch)
tree29adffcb1d264cc16cacb478a8f6645ef6259b3b /src/core/hle/service/hid/controllers/palma.cpp
parent7f62a48ab507d3874378c10944662d5b841c6c2e (diff)
parent940618a64dc048790291e240dca6a085a4f1c27c (diff)
Merge branch 'master' into new-shortcut
Diffstat (limited to 'src/core/hle/service/hid/controllers/palma.cpp')
-rw-r--r--src/core/hle/service/hid/controllers/palma.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/hle/service/hid/controllers/palma.cpp b/src/core/hle/service/hid/controllers/palma.cpp
index 14c67e454..73a2a2b91 100644
--- a/src/core/hle/service/hid/controllers/palma.cpp
+++ b/src/core/hle/service/hid/controllers/palma.cpp
@@ -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() {}