[chronojump] Correctly close chronopicRegister DataReader



commit fae801822170c9bec5dc2f9a13a3954821c56c22
Author: Xavier de Blas <xaviblas gmail com>
Date:   Thu Jan 12 00:40:33 2017 +0100

    Correctly close chronopicRegister DataReader

 src/sqlite/chronopicRegister.cs |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/sqlite/chronopicRegister.cs b/src/sqlite/chronopicRegister.cs
index efe6803..3936579 100644
--- a/src/sqlite/chronopicRegister.cs
+++ b/src/sqlite/chronopicRegister.cs
@@ -65,7 +65,8 @@ class SqliteChronopicRegister : Sqlite
                                        );
                        l.Add(crp);
                }
-               
+
+               reader.Close();
                closeIfNeeded(dbconOpened);
 
                return l;


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