Skip to content

Commit

Permalink
Removed Activity.Current reset logic.
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeBlanch committed Oct 22, 2021
1 parent 95b5ee0 commit 9f440c4
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -138,11 +138,6 @@ public void AfterReceiveReply(ref Message reply, object correlationState)

if (state.Activity is Activity activity)
{
if (Activity.Current != activity)
{
Activity.Current = activity;
}

if (activity.IsAllDataRequested)
{
if (reply.IsFault)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,11 +123,6 @@ public void BeforeSendReply(ref Message reply, object correlationState)
{
if (correlationState is Activity activity)
{
if (Activity.Current != activity)
{
Activity.Current = activity;
}

if (activity.IsAllDataRequested)
{
if (reply.IsFault)
Expand Down

0 comments on commit 9f440c4

Please sign in to comment.