[longomatch] Dispose correctly objects after drawing
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch] Dispose correctly objects after drawing
- Date: Tue, 5 May 2015 09:10:17 +0000 (UTC)
commit a73a394f99856192ba5726b8eeac6785d738dc4e
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date: Thu Apr 30 12:10:53 2015 +0200
Dispose correctly objects after drawing
LongoMatch.Drawing/Utils.cs | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/LongoMatch.Drawing/Utils.cs b/LongoMatch.Drawing/Utils.cs
index 72a9227..13add25 100644
--- a/LongoMatch.Drawing/Utils.cs
+++ b/LongoMatch.Drawing/Utils.cs
@@ -93,6 +93,7 @@ namespace LongoMatch.Drawing
foreach (Drawable d in fd.Drawables) {
ICanvasSelectableObject obj = CanvasFromDrawableObject (d);
obj.Draw (tk, null);
+ obj.Dispose ();
}
tk.DrawImage (fd.Freehand);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]