Suppress GC Finalize on StateCache

pull/5083/head
Isaac Marovitz 2024-05-25 12:30:06 -04:00 committed by Isaac Marovitz
parent bbcd05aacf
commit 8b7ac4e87f
1 changed files with 2 additions and 0 deletions

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)