Minor GC improvement?

This commit is contained in:
Alessandro Proto 2023-02-01 08:31:07 +01:00
parent 4385a9e2fc
commit 50461558e4

View file

@ -180,6 +180,7 @@ public class Drawing : IDisposable
public void Dispose()
{
GC.SuppressFinalize(this);
_spriteBatch.Dispose();
_whitePixel.Dispose();
}