Open IkerCelorrio opened 1 year ago
Issue caused by thread reuse in heavy task/continuationtask usage, encountered when using dotnetty and LogicalContext(LogicalThreadVariablesContext). The error is not reproduced when using Non-LogicalContext (PerThreadVariablesContext), so can be temporary workaround by setting FavorLogicalVariableContexts to false.
When using PushThreadScopedVariablesFor on certain circunstances throw an ArgumentException indicating thate the key already has been added.