Suppress GC Finalize on StateCache

This commit is contained in:
Isaac Marovitz 2024-05-25 12:30:06 -04:00 committed by Evan Husted
parent 881ab59177
commit 41e6a04a23

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)