1
0
Fork 0
mirror of https://github.com/Nioux/AideDeJeu.git synced 2025-10-29 14:35:45 +00:00

Suppression memory leak potentiel

This commit is contained in:
Yan Maniez 2018-05-07 01:03:18 +02:00
parent c82db7aeb2
commit 53d047f67d

View file

@ -62,6 +62,8 @@ namespace AideDeJeu.Views
paint.Color = SKColors.Black;
canvas.DrawPath(path, paint);
paint.Dispose();
path.Dispose();
}
void PaintRedBar(object sender, SKPaintSurfaceEventArgs args)
@ -85,6 +87,8 @@ namespace AideDeJeu.Views
};
canvas.DrawPath(path, paint);
paint.Dispose();
path.Dispose();
//paint.Style = SKPaintStyle.Stroke;
//paint.StrokeWidth = 2;