1.12.X - LightFinder + Bugfixes + Other fixes from 1.11.X #39

Merged
defnotken merged 85 commits from 1.12.0 into master 2025-10-05 05:48:32 +00:00
Showing only changes of commit fe898cdc2b - Show all commits

View File

@@ -189,7 +189,14 @@ public sealed class FileCacheManager : IHostedService
Parallel.ForEach(allEntities, entity =>
{
cacheDict[entity.PrefixedFilePath] = entity;
if (entity != null && entity.PrefixedFilePath != null)
{
cacheDict[entity.PrefixedFilePath] = entity;
}
else
{
_logger.LogWarning("Null FileCacheEntity or PrefixedFilePath encountered in cache population: {entity}", entity);
}
});
var cleanedPaths = new ConcurrentDictionary<string, string>(StringComparer.OrdinalIgnoreCase);