-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ThreadContextElements are not nested properly #2195
Comments
Hi,
This behaviour is implementation-driven, at that point it was the most efficient way to implement it in the most performant way. Both Thanks for the report, this is definitely an issue worth re-considering for 1.4 |
* Restore the context in the reverse order of update, so they are properly nested into each other * Also, do a minor cleanup Fixes #2195
Hello!
For some of the implementations of the ThreadContextElements the order of invocation is important. Here is one example that we are struggling with and don't know how to solve cleanly:
restoreThreadContext
in exactly the same order asupdateThreadContext
.Is there a reason why the order for
restoreThreadContext
is not the opposite ofupdateThreadContext
?The text was updated successfully, but these errors were encountered: