[longomatch] Fix dipose in canvases when Objects is null
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch] Fix dipose in canvases when Objects is null
- Date: Wed, 24 Sep 2014 20:23:37 +0000 (UTC)
commit 73b3b2e6dea0091831fcb67ffe5f7838ee34a106
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date: Fri Sep 5 00:52:25 2014 +0200
Fix dipose in canvases when Objects is null
LongoMatch.Drawing/Canvas.cs | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/LongoMatch.Drawing/Canvas.cs b/LongoMatch.Drawing/Canvas.cs
index 66739d3..ed17f5f 100644
--- a/LongoMatch.Drawing/Canvas.cs
+++ b/LongoMatch.Drawing/Canvas.cs
@@ -74,8 +74,8 @@ namespace LongoMatch.Drawing
foreach (CanvasObject co in Objects) {
co.Dispose ();
}
+ Objects.Clear ();
}
- Objects.Clear ();
}
public List<ICanvasObject> Objects {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]