fix: Adds multithread optional flag to ValueStringBuilder (#1033)

Added multithread optional flag to ValueStringBuilder for multithread contexts.
Enabled new flag for VerifyType method.

Resolves #1032
This commit is contained in:
Stefano Merotta 2022-05-27 19:25:30 +02:00 committed by GitHub
parent ef883b2872
commit fe225003c6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 21 additions and 10 deletions

View file

@ -607,7 +607,7 @@ namespace Server
Interlocked.Increment(ref _mobileCount);
}
ValueStringBuilder errors = new ValueStringBuilder();
ValueStringBuilder errors = new ValueStringBuilder(true);
try
{