CpuTest: Add TearDown
This commit is contained in:
parent
45153e1450
commit
2b3591ed8f
1 changed files with 6 additions and 0 deletions
|
@ -24,6 +24,12 @@ namespace Ryujinx.Tests.Cpu
|
|||
Memory.Manager.MapPhys(0x1000, 0x1000, 2, AMemoryPerm.Read | AMemoryPerm.Write | AMemoryPerm.Execute);
|
||||
}
|
||||
|
||||
[TearDown]
|
||||
public void Teardown()
|
||||
{
|
||||
Marshal.FreeHGlobal(Ram);
|
||||
}
|
||||
|
||||
private void Execute(AThread Thread)
|
||||
{
|
||||
AutoResetEvent Wait = new AutoResetEvent(false);
|
||||
|
|
Loading…
Add table
Reference in a new issue