Skip to content

Commit d4e121e

Browse files
committed
Remove manual scope sync
1 parent a542f0c commit d4e121e

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/Sentry/Scope.cs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -818,11 +818,6 @@ internal void ResetTransaction(ITransactionTracer? expectedCurrentTransaction)
818818
if (ReferenceEquals(_transaction.Value, expectedCurrentTransaction))
819819
{
820820
_transaction.Value = null;
821-
if (Options.EnableScopeSync)
822-
{
823-
// We have to restore the trace on the native layers to be in sync with the current scope
824-
Options.ScopeObserver?.SetTrace(PropagationContext.TraceId, PropagationContext.SpanId);
825-
}
826821
}
827822
}
828823
finally

0 commit comments

Comments
 (0)