Made locks more consistent across solution

This commit is contained in:
Chomp
2025-03-08 09:55:36 +00:00
parent df2c8649a3
commit 6b48dfa463
9 changed files with 29 additions and 29 deletions
@@ -6,7 +6,7 @@ namespace SPTarkov.Common.Extensions;
public static class StringExtensions
{
private static readonly Dictionary<string, Regex> RegexCache = new();
private static readonly object RegexCacheLock = new();
private static readonly Lock RegexCacheLock = new();
public static string RegexReplace(this string source, [StringSyntax(StringSyntaxAttribute.Regex)] string regexString, string newValue)
{