summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2021-09-19 05:37:40 +0200
committerGitHub <noreply@github.com>2021-09-19 05:37:40 +0200
commita9c3619d26beaaae338c5e902635147b9237350a (patch)
treeb86f29a288fa5bc5a337ba61a6833fa1c89c2270 /src/core
parentMerge pull request #6485 from MonsterDruide1/tas (diff)
parentvk_scheduler: Use std::jthread (diff)
downloadyuzu-a9c3619d26beaaae338c5e902635147b9237350a.tar
yuzu-a9c3619d26beaaae338c5e902635147b9237350a.tar.gz
yuzu-a9c3619d26beaaae338c5e902635147b9237350a.tar.bz2
yuzu-a9c3619d26beaaae338c5e902635147b9237350a.tar.lz
yuzu-a9c3619d26beaaae338c5e902635147b9237350a.tar.xz
yuzu-a9c3619d26beaaae338c5e902635147b9237350a.tar.zst
yuzu-a9c3619d26beaaae338c5e902635147b9237350a.zip
Diffstat (limited to 'src/core')
-rw-r--r--src/core/core.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/core/core.cpp b/src/core/core.cpp
index b13350f6e..54ebed2c1 100644
--- a/src/core/core.cpp
+++ b/src/core/core.cpp
@@ -305,10 +305,7 @@ struct System::Impl {
is_powered_on = false;
exit_lock = false;
- if (gpu_core) {
- gpu_core->ShutDown();
- }
-
+ gpu_core.reset();
services.reset();
service_manager.reset();
cheat_engine.reset();
@@ -317,7 +314,6 @@ struct System::Impl {
time_manager.Shutdown();
core_timing.Shutdown();
app_loader.reset();
- gpu_core.reset();
perf_stats.reset();
kernel.Shutdown();
memory.Reset();