summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/hid/hidbus
diff options
context:
space:
mode:
authorgerman77 <juangerman-13@hotmail.com>2023-10-29 20:45:53 +0100
committergerman77 <juangerman-13@hotmail.com>2023-10-29 20:52:12 +0100
commit6e883a26da52b84086340ca5b5d38f55ef04bf8d (patch)
tree0c804e775e8a7313bf3e55d4cbfa5c6142a73851 /src/core/hle/service/hid/hidbus
parentMerge pull request #11880 from abouvier/unbundle-stb (diff)
downloadyuzu-6e883a26da52b84086340ca5b5d38f55ef04bf8d.tar
yuzu-6e883a26da52b84086340ca5b5d38f55ef04bf8d.tar.gz
yuzu-6e883a26da52b84086340ca5b5d38f55ef04bf8d.tar.bz2
yuzu-6e883a26da52b84086340ca5b5d38f55ef04bf8d.tar.lz
yuzu-6e883a26da52b84086340ca5b5d38f55ef04bf8d.tar.xz
yuzu-6e883a26da52b84086340ca5b5d38f55ef04bf8d.tar.zst
yuzu-6e883a26da52b84086340ca5b5d38f55ef04bf8d.zip
Diffstat (limited to 'src/core/hle/service/hid/hidbus')
-rw-r--r--src/core/hle/service/hid/hidbus/hidbus_base.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/core/hle/service/hid/hidbus/hidbus_base.cpp b/src/core/hle/service/hid/hidbus/hidbus_base.cpp
index ee522c36e..8c44f93e8 100644
--- a/src/core/hle/service/hid/hidbus/hidbus_base.cpp
+++ b/src/core/hle/service/hid/hidbus/hidbus_base.cpp
@@ -13,7 +13,10 @@ HidbusBase::HidbusBase(Core::System& system_, KernelHelpers::ServiceContext& ser
: system(system_), service_context(service_context_) {
send_command_async_event = service_context.CreateEvent("hidbus:SendCommandAsyncEvent");
}
-HidbusBase::~HidbusBase() = default;
+
+HidbusBase::~HidbusBase() {
+ service_context.CloseEvent(send_command_async_event);
+};
void HidbusBase::ActivateDevice() {
if (is_activated) {