Initialize uninitialized cache

This commit is contained in:
弘韬 张 2020-10-25 10:26:56 +08:00
parent 80a2f0df71
commit 77aff43d1a

View file

@ -19,7 +19,7 @@ namespace Flow.Launcher.Infrastructure
public class Alphabet : IAlphabet
{
private ConcurrentDictionary<string, string> _pinyinCache;
private ConcurrentDictionary<string, string> _pinyinCache = new ConcurrentDictionary<string, string>();
private Settings _settings;
public void Initialize([NotNull] Settings settings)