mirror of
https://github.com/ICDSystems/ICD.Common.Utils.git
synced 2026-02-08 17:24:49 +00:00
fix: Potential fix for sqlite database locked exception
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user