[chronojump] Fixed ListCaptured cannot be null now
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] Fixed ListCaptured cannot be null now
- Date: Mon, 27 Feb 2017 19:14:57 +0000 (UTC)
commit 2082c7835ada4ada92ec62b6970a67b933c9826f
Author: Xavier de Blas <xaviblas gmail com>
Date: Mon Feb 27 20:14:34 2017 +0100
Fixed ListCaptured cannot be null now
src/encoderCaptureInertialBG.cs | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/encoderCaptureInertialBG.cs b/src/encoderCaptureInertialBG.cs
index 799cd25..e76e431 100644
--- a/src/encoderCaptureInertialBG.cs
+++ b/src/encoderCaptureInertialBG.cs
@@ -111,12 +111,13 @@ public static class EncoderCaptureInertialBackgroundStatic
public static void Start()
{
abort = false;
+ ListCaptured = new List<int> ();
Initialize();
}
public static void Initialize()
{
- ListCaptured = new List<int> ();
+ ListCaptured.Clear();
pos = 0;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]