summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/hid/controllers/palma.cpp
diff options
context:
space:
mode:
authorFranco M <francomaro@gmail.com>2023-11-05 01:28:16 +0100
committerGitHub <noreply@github.com>2023-11-05 01:28:16 +0100
commit728aca770317b3f86961c8669ba9ae5c68570d3f (patch)
tree29adffcb1d264cc16cacb478a8f6645ef6259b3b /src/core/hle/service/hid/controllers/palma.cpp
parentWe dont need that (diff)
parentMerge pull request #11952 from liamwhite/opus_stereo_count (diff)
downloadyuzu-728aca770317b3f86961c8669ba9ae5c68570d3f.tar
yuzu-728aca770317b3f86961c8669ba9ae5c68570d3f.tar.gz
yuzu-728aca770317b3f86961c8669ba9ae5c68570d3f.tar.bz2
yuzu-728aca770317b3f86961c8669ba9ae5c68570d3f.tar.lz
yuzu-728aca770317b3f86961c8669ba9ae5c68570d3f.tar.xz
yuzu-728aca770317b3f86961c8669ba9ae5c68570d3f.tar.zst
yuzu-728aca770317b3f86961c8669ba9ae5c68570d3f.zip
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() {}