From 50461558e4b35d75b32a7071e2bfbdac930724ab Mon Sep 17 00:00:00 2001 From: Alessandro Proto Date: Wed, 1 Feb 2023 08:31:07 +0100 Subject: [PATCH] Minor GC improvement? --- Capy64/Core/Drawing.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Capy64/Core/Drawing.cs b/Capy64/Core/Drawing.cs index 617471f..378b5cf 100644 --- a/Capy64/Core/Drawing.cs +++ b/Capy64/Core/Drawing.cs @@ -180,6 +180,7 @@ public class Drawing : IDisposable public void Dispose() { + GC.SuppressFinalize(this); _spriteBatch.Dispose(); _whitePixel.Dispose(); }