adding seenCleaned

This commit is contained in:
defnotken
2025-09-13 22:54:11 -05:00
parent bf91dacb6f
commit 31a6344f4e

View File

@@ -190,7 +190,7 @@ public sealed class FileCacheManager : IHostedService
.Replace(_configService.Current.CacheFolder, _configService.Current.CacheFolder.EndsWith('\\') ? CachePrefix + '\\' : CachePrefix, StringComparison.OrdinalIgnoreCase)
.Replace("\\\\", "\\", StringComparison.Ordinal);
if (!cleanedPaths.ContainsValue(cleaned))
if (seenCleaned.Add(cleaned))
{
_logger.LogDebug("Adding to cleanedPaths: {cleaned}", cleaned);
cleanedPaths[p] = cleaned;