Ryujinx.Tests.Unicorn: Implement IDisposable (#3794)
Dispose unicorn when done
This commit is contained in:
@ -76,6 +76,12 @@ namespace Ryujinx.Tests.Cpu
|
||||
[TearDown]
|
||||
public void Teardown()
|
||||
{
|
||||
if (_unicornAvailable)
|
||||
{
|
||||
_unicornEmu.Dispose();
|
||||
_unicornEmu = null;
|
||||
}
|
||||
|
||||
_memory.DecrementReferenceCount();
|
||||
_context.Dispose();
|
||||
_ram.Dispose();
|
||||
|
Reference in New Issue
Block a user