Suppress GC Finalize on StateCache
This commit is contained in:
parent
bbcd05aacf
commit
8b7ac4e87f
1 changed files with 2 additions and 0 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue