early-access version 2329

This commit is contained in:
pineappleEA 2021-12-19 12:29:58 +01:00
parent bab70285c1
commit 3edf270268
2 changed files with 5 additions and 2 deletions

View File

@ -1,7 +1,7 @@
yuzu emulator early access yuzu emulator early access
============= =============
This is the source code for early-access 2328. This is the source code for early-access 2329.
## Legal Notice ## Legal Notice

View File

@ -182,7 +182,10 @@ struct KernelCore::Impl {
// Shutdown all processes. // Shutdown all processes.
if (current_process) { if (current_process) {
current_process->Finalize(); current_process->Finalize();
current_process->Close(); // current_process->Close();
// TODO: The current process should be destroyed based on accurate ref counting after
// calling Close(). Adding a manual Destroy() call instead to avoid a memory leak.
current_process->Destroy();
current_process = nullptr; current_process = nullptr;
} }