diff options
author | liamwhite <liamwhite@users.noreply.github.com> | 2023-10-30 00:46:47 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-30 00:46:47 +0100 |
commit | adb090090605d3b1f4368fb0c7bc836206aa4bdf (patch) | |
tree | c152945e6c527e90def56460b763c44b7cede53f /src/core/hle/service/am/applets/applet_cabinet.cpp | |
parent | Merge pull request #11909 from t895/card-grid (diff) | |
parent | core: Close all KEvents (diff) | |
download | yuzu-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 'src/core/hle/service/am/applets/applet_cabinet.cpp')
-rw-r--r-- | src/core/hle/service/am/applets/applet_cabinet.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/hle/service/am/applets/applet_cabinet.cpp b/src/core/hle/service/am/applets/applet_cabinet.cpp index 19ed184e8..b379dadeb 100644 --- a/src/core/hle/service/am/applets/applet_cabinet.cpp +++ b/src/core/hle/service/am/applets/applet_cabinet.cpp @@ -25,7 +25,9 @@ Cabinet::Cabinet(Core::System& system_, LibraryAppletMode applet_mode_, service_context.CreateEvent("CabinetApplet:AvailabilityChangeEvent"); } -Cabinet::~Cabinet() = default; +Cabinet::~Cabinet() { + service_context.CloseEvent(availability_change_event); +}; void Cabinet::Initialize() { Applet::Initialize(); |