When creating the span with SpanOptions MakeCurrentContext = false, and setting this span as a parent of a different span. The context option is ignored, and the span starts having more children assigned.
Steps to reproduce
Create a span with MakeCurrentContext = false
Create a second span with ParentContext set to the first span, and MakeCurrentContext to false
Create a third span without options
Observe that the third span is the child of the first span, instead of the root.
Environment
BugSnag Performance library version: 1.41
BugSnag Error Monitoring library version (if any):
Describe the bug
When creating the span with SpanOptions MakeCurrentContext = false, and setting this span as a parent of a different span. The context option is ignored, and the span starts having more children assigned.
Steps to reproduce
Environment