Skip to content

Commit 39b6c8e

Browse files
committed
Switch SheetDefinitions to ConcurrentDictionary
1 parent d784b3f commit 39b6c8e

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

Alpha/Services/Excel/ExcelService.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
using Alpha.Game;
1+
using System.Collections.Concurrent;
2+
using Alpha.Game;
23
using Alpha.Gui.Windows;
34
using Alpha.Services.Excel.Cells;
45
using Alpha.Services.Excel.ExdSchema;
@@ -11,7 +12,7 @@ namespace Alpha.Services.Excel;
1112
public class ExcelService {
1213
public AlphaGameData? GameData;
1314
public readonly Dictionary<string, IAlphaSheet?> SheetsCache = new();
14-
public readonly Dictionary<string, ISheetDefinition?> SheetDefinitions = new();
15+
public readonly ConcurrentDictionary<string, ISheetDefinition?> SheetDefinitions = new();
1516
public string[] Sheets = [];
1617

1718
private readonly ISchemaResolver? resolver;

0 commit comments

Comments
 (0)