remove requirement to hold ctrl, remove puzzle
This commit is contained in:
@@ -36,9 +36,12 @@ public class FileCacheManager : IDisposable
|
||||
_configuration = configuration;
|
||||
CsvPath = Path.Combine(configDirectoryName, "FileCache.csv");
|
||||
|
||||
if (File.Exists(CsvBakPath))
|
||||
lock (_fileWriteLock)
|
||||
{
|
||||
File.Move(CsvBakPath, CsvPath, true);
|
||||
if (File.Exists(CsvBakPath))
|
||||
{
|
||||
File.Move(CsvBakPath, CsvPath, true);
|
||||
}
|
||||
}
|
||||
|
||||
if (File.Exists(CsvPath))
|
||||
|
||||
Reference in New Issue
Block a user