Skip to content
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

InvocationContext is not thread safe? #20

Open
htzhang2 opened this issue Sep 22, 2022 · 0 comments
Open

InvocationContext is not thread safe? #20

htzhang2 opened this issue Sep 22, 2022 · 0 comments

Comments

@htzhang2
Copy link

Two threads both write to InvocationContext in BeforeInvoke method:

  1. Thread1:
    invocationCopntext.SetTemporaryData("temp", "value1");

  2. Thread2:
    invocationCopntext.SetTemporaryData("temp", "value2");

This seems corrupt invocationContext.

Is there a thread safe solution?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant