removed a duplicate check

This commit is contained in:
AT 2020-01-03 21:17:58 +02:00
parent 72e1a19ea5
commit e80147d24e

View File

@ -46,7 +46,7 @@ namespace Wox.Infrastructure.Image
{
Stopwatch.Normal("|ImageLoader.Initialize|Preload images cost", () =>
{
ImageCache.Usage.AsParallel().Where(i => !ImageCache.ContainsKey(i.Key)).ForAll(x =>
ImageCache.Usage.AsParallel().ForAll(x =>
{
Load(x.Key);
});