修离线缓存

This commit is contained in:
2021-10-19 23:13:28 +02:00
parent 888ddce4ef
commit 6f5c21aa8f
6 changed files with 53 additions and 28 deletions

View File

@@ -13,10 +13,12 @@ namespace AnotherReplayReader
public static string CacheFilePath => Path.Combine(CacheDirectory, "AnotherReplayReader.cache");
private readonly ConcurrentDictionary<string, string> _storage = new();
public Task Initialization { get; }
public Cache()
{
Task.Run(async () =>
Initialization = Task.Run(async () =>
{
try
{