gpu: Use std::jthread for async gpu thread

This commit is contained in:
ameerj 2021-09-15 20:32:54 -04:00
parent c2ddda2f51
commit 877cd60b00
5 changed files with 18 additions and 69 deletions

View file

@ -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();