We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d68e70 commit 9dba5fdCopy full SHA for 9dba5fd
src/Microsoft.OpenApi/Validations/ValidationRuleSet.cs
@@ -30,7 +30,7 @@ public static ValidationRuleSet DefaultRuleSet
30
{
31
if (_defaultRuleSet == null)
32
33
- _defaultRuleSet = new Lazy<ValidationRuleSet>(() => BuildDefaultRuleSet(), isThreadSafe: false).Value;
+ _defaultRuleSet = new Lazy<ValidationRuleSet>(() => BuildDefaultRuleSet(), isThreadSafe: true).Value;
34
}
35
36
return _defaultRuleSet;
0 commit comments