Fix NRE when disposing AddressSpace with 4KB pages support (#4307)

This commit is contained in:
TSRBerry 2023-01-17 15:50:39 +01:00 committed by Matt Heins
parent bdc100cec4
commit 8513af5837

View file

@ -462,7 +462,7 @@ namespace Ryujinx.Cpu
public void Dispose()
{
_privateMemoryAllocator.Dispose();
_privateMemoryAllocator?.Dispose();
Base.Dispose();
Mirror.Dispose();
}