java-concurrent icon indicating copy to clipboard operation
java-concurrent copied to clipboard

Newly created spans should be activated

Open kohegen opened this issue 3 years ago • 1 comments

Newly created spans were created but not activated in TracedRunnable as tracer.activeSpan() is always null at that point. My change is just doing it in same way as it's done in TracedExecutorService, where we are checking if there is a span to activate instead checking activated span.

kohegen avatar Aug 12 '20 21:08 kohegen