summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/hid/controllers
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2023-10-30 00:46:47 +0100
committerGitHub <noreply@github.com>2023-10-30 00:46:47 +0100
commitadb090090605d3b1f4368fb0c7bc836206aa4bdf (patch)
treec152945e6c527e90def56460b763c44b7cede53f /src/core/hle/service/hid/controllers
parentMerge pull request #11909 from t895/card-grid (diff)
parentcore: Close all KEvents (diff)
downloadyuzu-adb090090605d3b1f4368fb0c7bc836206aa4bdf.tar
yuzu-adb090090605d3b1f4368fb0c7bc836206aa4bdf.tar.gz
yuzu-adb090090605d3b1f4368fb0c7bc836206aa4bdf.tar.bz2
yuzu-adb090090605d3b1f4368fb0c7bc836206aa4bdf.tar.lz
yuzu-adb090090605d3b1f4368fb0c7bc836206aa4bdf.tar.xz
yuzu-adb090090605d3b1f4368fb0c7bc836206aa4bdf.tar.zst
yuzu-adb090090605d3b1f4368fb0c7bc836206aa4bdf.zip
Diffstat (limited to '')
-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() {}