diff --git a/src/Ryujinx.Graphics.Metal/StateCache.cs b/src/Ryujinx.Graphics.Metal/StateCache.cs index 4b2c6c5a4..f333814e6 100644 --- a/src/Ryujinx.Graphics.Metal/StateCache.cs +++ b/src/Ryujinx.Graphics.Metal/StateCache.cs @@ -19,6 +19,8 @@ namespace Ryujinx.Graphics.Metal { value.Dispose(); } + + GC.SuppressFinalize(this); } public T GetOrCreate(TDescriptor descriptor)