fix filescanner locking up dictionary when deletion tasks are scheduled
This commit is contained in:
@@ -229,6 +229,7 @@ public class PeriodicFileScanner : IDisposable
|
|||||||
try
|
try
|
||||||
{
|
{
|
||||||
var validatedCacheResult = _fileDbManager.ValidateFileCacheEntity(cache);
|
var validatedCacheResult = _fileDbManager.ValidateFileCacheEntity(cache);
|
||||||
|
if (validatedCacheResult.Item1 != FileState.RequireDeletion)
|
||||||
scannedFiles[validatedCacheResult.Item2.ResolvedFilepath] = true;
|
scannedFiles[validatedCacheResult.Item2.ResolvedFilepath] = true;
|
||||||
if (validatedCacheResult.Item1 == FileState.RequireUpdate)
|
if (validatedCacheResult.Item1 == FileState.RequireUpdate)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<Authors></Authors>
|
<Authors></Authors>
|
||||||
<Company></Company>
|
<Company></Company>
|
||||||
<Version>0.4.22</Version>
|
<Version>0.4.23</Version>
|
||||||
<Description></Description>
|
<Description></Description>
|
||||||
<Copyright></Copyright>
|
<Copyright></Copyright>
|
||||||
<PackageProjectUrl>https://github.com/Penumbra-Sync/client</PackageProjectUrl>
|
<PackageProjectUrl>https://github.com/Penumbra-Sync/client</PackageProjectUrl>
|
||||||
|
|||||||
Reference in New Issue
Block a user