mirror of
https://github.com/Ale32bit/Capy64.git
synced 2025-01-18 18:46:43 +00:00
Minor GC improvement?
This commit is contained in:
parent
4385a9e2fc
commit
50461558e4
1 changed files with 1 additions and 0 deletions
|
@ -180,6 +180,7 @@ public class Drawing : IDisposable
|
||||||
|
|
||||||
public void Dispose()
|
public void Dispose()
|
||||||
{
|
{
|
||||||
|
GC.SuppressFinalize(this);
|
||||||
_spriteBatch.Dispose();
|
_spriteBatch.Dispose();
|
||||||
_whitePixel.Dispose();
|
_whitePixel.Dispose();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue