Small improvements on finalization code

This commit is contained in:
gdkchan 2018-08-16 11:51:14 -03:00
commit 7fa094f137
2 changed files with 2 additions and 2 deletions

View file

@ -370,8 +370,6 @@ namespace Ryujinx.HLE.HOS
if (Threads.Count == 0) if (Threads.Count == 0)
{ {
Device.System.ExitProcess(ProcessId); Device.System.ExitProcess(ProcessId);
Unload();
} }
} }

View file

@ -79,6 +79,8 @@ namespace Ryujinx.HLE
internal void Unload() internal void Unload()
{ {
VFs.Dispose(); VFs.Dispose();
Memory.Dispose();
} }
public void Dispose() public void Dispose()