summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2017-09-19 19:25:50 +0200
committeremkael <emkael@tlen.pl>2017-09-19 19:25:50 +0200
commite680df19bef06dc3a1e1015577b4091f4d2a360f (patch)
tree2f01e65361869c388f1c54e25a1f4b5223a9bdfd
parent9ff150ef7cc02b8daa5c97646f604d1b264e9bdc (diff)
Properly closing MySQL data reader
-rw-r--r--Aktywator/MySQLTournament.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/Aktywator/MySQLTournament.cs b/Aktywator/MySQLTournament.cs
index ff3258a..c3cb29f 100644
--- a/Aktywator/MySQLTournament.cs
+++ b/Aktywator/MySQLTournament.cs
@@ -47,6 +47,7 @@ namespace Aktywator
list.Add(t);
t.mysql.close();
}
+ dbs.Close();
return list;
}