summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLC <mathew1800@gmail.com>2021-03-02 15:28:28 +0100
committerGitHub <noreply@github.com>2021-03-02 15:28:28 +0100
commit4a45012f354e974ec578d0f66752c87bdea10e36 (patch)
treed6de95c8a746aff4fb6903bdea65b507dba4b111
parentMerge pull request #6019 from Kelebek1/bcat (diff)
parentcore: Shutdown: Move kernel cleanup to later in shutdown. (diff)
downloadyuzu-4a45012f354e974ec578d0f66752c87bdea10e36.tar
yuzu-4a45012f354e974ec578d0f66752c87bdea10e36.tar.gz
yuzu-4a45012f354e974ec578d0f66752c87bdea10e36.tar.bz2
yuzu-4a45012f354e974ec578d0f66752c87bdea10e36.tar.lz
yuzu-4a45012f354e974ec578d0f66752c87bdea10e36.tar.xz
yuzu-4a45012f354e974ec578d0f66752c87bdea10e36.tar.zst
yuzu-4a45012f354e974ec578d0f66752c87bdea10e36.zip
-rw-r--r--src/core/core.cpp13
1 files changed, 1 insertions, 12 deletions
diff --git a/src/core/core.cpp b/src/core/core.cpp
index de6305e2a..305f56ff1 100644
--- a/src/core/core.cpp
+++ b/src/core/core.cpp
@@ -299,28 +299,17 @@ struct System::Impl {
gpu_core->WaitIdle();
}
- // Shutdown emulation session
services.reset();
service_manager.reset();
cheat_engine.reset();
telemetry_session.reset();
-
- // Close all CPU/threading state
cpu_manager.Shutdown();
-
- // Release the Time Manager's resources
time_manager.Shutdown();
-
- // Shutdown kernel and core timing
core_timing.Shutdown();
- kernel.Shutdown();
-
- // Close app loader
app_loader.reset();
gpu_core.reset();
perf_stats.reset();
-
- // Clear all applets
+ kernel.Shutdown();
applet_manager.ClearAll();
LOG_DEBUG(Core, "Shutdown OK");