Skip to content

Commit fa00adc

Browse files
authored
Fix exception due to concurrent collection update (#2698) #patch
Sentry event ID: 9ecd1e270bb445c0afe42a4b8872a054
1 parent b334e2d commit fa00adc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ImperatorToCK3/CK3/Characters/Character.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -829,5 +829,5 @@ CK3LocDB ck3LocDB
829829
private readonly CharacterCollection characters;
830830
private readonly ConcurrentHashSet<Character> spousesCache = [];
831831
private readonly ConcurrentHashSet<Character> concubinesCache = [];
832-
private readonly HashSet<Character> childrenCache = new();
832+
private readonly ConcurrentHashSet<Character> childrenCache = [];
833833
}

0 commit comments

Comments
 (0)