gpu: Add shut down method to synchronize threads before destruction

This commit is contained in:
ameerj 2022-01-03 20:31:51 -05:00
parent 7652543231
commit c17938f96b
3 changed files with 15 additions and 0 deletions

View file

@ -317,6 +317,8 @@ struct System::Impl {
is_powered_on = false;
exit_lock = false;
gpu_core->NotifyShutdown();
services.reset();
service_manager.reset();
cheat_engine.reset();