From 77aff43d1a74454fd887fe2e54a9224f4f2ea09f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=98=E9=9F=AC=20=E5=BC=A0?= Date: Sun, 25 Oct 2020 10:26:56 +0800 Subject: [PATCH] Initialize uninitialized cache --- Flow.Launcher.Infrastructure/Alphabet.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Flow.Launcher.Infrastructure/Alphabet.cs b/Flow.Launcher.Infrastructure/Alphabet.cs index bc92bda0e..15f6ef7c4 100644 --- a/Flow.Launcher.Infrastructure/Alphabet.cs +++ b/Flow.Launcher.Infrastructure/Alphabet.cs @@ -19,7 +19,7 @@ namespace Flow.Launcher.Infrastructure public class Alphabet : IAlphabet { - private ConcurrentDictionary _pinyinCache; + private ConcurrentDictionary _pinyinCache = new ConcurrentDictionary(); private Settings _settings; public void Initialize([NotNull] Settings settings)