mirror of
https://github.com/ICDSystems/ICD.Common.Utils.git
synced 2026-04-12 12:07:05 +00:00
fix: Potential fix for sqlite database locked exception
This commit is contained in:
parent
4fa46ff5a0
commit
24601b0ef2
1 changed files with 2 additions and 2 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue