[longomatch] Fix exception disposing the static needle surface



commit a7bf6df54e3ad9cd7db915ee5ec3b9d7927815da
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date:   Tue Oct 28 08:06:40 2014 +0100

    Fix exception disposing the static needle surface

 LongoMatch.Drawing/CanvasObjects/NeedleObject.cs |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/LongoMatch.Drawing/CanvasObjects/NeedleObject.cs 
b/LongoMatch.Drawing/CanvasObjects/NeedleObject.cs
index ca3a14d..3bc74d2 100644
--- a/LongoMatch.Drawing/CanvasObjects/NeedleObject.cs
+++ b/LongoMatch.Drawing/CanvasObjects/NeedleObject.cs
@@ -42,10 +42,6 @@ namespace LongoMatch.Drawing.CanvasObjects
                protected override void Dispose (bool disposing)
                {
                        base.Dispose (disposing);
-                       if (needle != null) {
-                               needle.Dispose ();
-                               needle = null;
-                       }
                }
 
                public double X {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]