[longomatch] Invalidate the timer at the very beginning



commit 0a9c4d7704659464cd6ec4420dcf91307fcc0f01
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date:   Wed Mar 25 20:40:30 2015 +0100

    Invalidate the timer at the very beginning

 LongoMatch.Services/Services/PlayerController.cs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/LongoMatch.Services/Services/PlayerController.cs 
b/LongoMatch.Services/Services/PlayerController.cs
index e7182ba..3d105bc 100644
--- a/LongoMatch.Services/Services/PlayerController.cs
+++ b/LongoMatch.Services/Services/PlayerController.cs
@@ -203,6 +203,7 @@ namespace LongoMatch.Services
                public void Dispose ()
                {
                        Log.Debug ("Disposing PlayerController");
+                       ReconfigureTimeout (0);
                        IgnoreTicks = true;
                        seeker.Dispose ();
                        timer.Dispose ();
@@ -210,7 +211,6 @@ namespace LongoMatch.Services
                        player.StateChange -= HandleStateChange;
                        player.Eos -= HandleEndOfStream;
                        player.ReadyToSeek -= HandleReadyToSeek;
-                       ReconfigureTimeout (0);
                        player.Dispose ();
                        FileSet = null;
                }


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