fix: Potential fix for sqlite database locked exception

This commit is contained in:
Chris Cameron
2019-03-14 16:31:13 -04:00
parent 4fa46ff5a0
commit 24601b0ef2

View File

@@ -32,8 +32,8 @@ namespace ICD.Common.Utils.Sqlite
/// <param name="path"></param>
public static void CreateFile(string path)
{
IcdFileStream fs = IcdFile.Create(path);
fs.Close();
using (IcdFileStream fs = IcdFile.Create(path))
fs.Close();
}
/// <summary>