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 GitHub
parent cff9046fc7
commit 410be95ab6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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