diff options
| author | 2021-09-15 20:32:54 -0400 | |
|---|---|---|
| committer | 2021-09-15 20:49:07 -0400 | |
| commit | 877cd60b00a3f827062fdaff93183b52174ec134 (patch) | |
| tree | ddcd7153dade611b9200c1867cfa643719696e25 /src/core/core.cpp | |
| parent | threadsafe_queue: Add std::stop_token overload to PopWait (diff) | |
| download | yuzu-877cd60b00a3f827062fdaff93183b52174ec134.tar.gz yuzu-877cd60b00a3f827062fdaff93183b52174ec134.tar.xz yuzu-877cd60b00a3f827062fdaff93183b52174ec134.zip | |
gpu: Use std::jthread for async gpu thread
Diffstat (limited to 'src/core/core.cpp')
| -rw-r--r-- | src/core/core.cpp | 6 |
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 { | |||
| 305 | is_powered_on = false; | 305 | is_powered_on = false; |
| 306 | exit_lock = false; | 306 | exit_lock = false; |
| 307 | 307 | ||
| 308 | if (gpu_core) { | 308 | gpu_core.reset(); |
| 309 | gpu_core->ShutDown(); | ||
| 310 | } | ||
| 311 | |||
| 312 | services.reset(); | 309 | services.reset(); |
| 313 | service_manager.reset(); | 310 | service_manager.reset(); |
| 314 | cheat_engine.reset(); | 311 | cheat_engine.reset(); |
| @@ -317,7 +314,6 @@ struct System::Impl { | |||
| 317 | time_manager.Shutdown(); | 314 | time_manager.Shutdown(); |
| 318 | core_timing.Shutdown(); | 315 | core_timing.Shutdown(); |
| 319 | app_loader.reset(); | 316 | app_loader.reset(); |
| 320 | gpu_core.reset(); | ||
| 321 | perf_stats.reset(); | 317 | perf_stats.reset(); |
| 322 | kernel.Shutdown(); | 318 | kernel.Shutdown(); |
| 323 | memory.Reset(); | 319 | memory.Reset(); |