Suppress GC Finalize on StateCache

This commit is contained in:
Isaac Marovitz 2024-05-25 12:30:06 -04:00 committed by Isaac Marovitz
parent bbcd05aacf
commit 8b7ac4e87f

View file

@ -19,6 +19,8 @@ namespace Ryujinx.Graphics.Metal
{ {
value.Dispose(); value.Dispose();
} }
GC.SuppressFinalize(this);
} }
public T GetOrCreate(TDescriptor descriptor) public T GetOrCreate(TDescriptor descriptor)