1
0
Fork 0
forked from suyu/suyu

kernel: shutdown app before gpu

This commit is contained in:
Liam 2023-10-21 20:35:18 -04:00
parent dcfe674ed4
commit 5f8f09d750

View file

@ -410,6 +410,7 @@ struct System::Impl {
services->KillNVNFlinger(); services->KillNVNFlinger();
} }
kernel.CloseServices(); kernel.CloseServices();
kernel.ShutdownCores();
services.reset(); services.reset();
service_manager.reset(); service_manager.reset();
cheat_engine.reset(); cheat_engine.reset();
@ -421,7 +422,6 @@ struct System::Impl {
gpu_core.reset(); gpu_core.reset();
host1x_core.reset(); host1x_core.reset();
perf_stats.reset(); perf_stats.reset();
kernel.ShutdownCores();
cpu_manager.Shutdown(); cpu_manager.Shutdown();
debugger.reset(); debugger.reset();
kernel.Shutdown(); kernel.Shutdown();