Remove current RUNTIME_CONTEXT when the lastSpan will be stop (#2827)
This commit is contained in:
parent
7f2277091d
commit
3831c5eeb5
|
|
@ -168,6 +168,7 @@ public class ContextManager implements BootService {
|
|||
public static void stopSpan(AbstractSpan span) {
|
||||
if (get().stopSpan(span)) {
|
||||
CONTEXT.remove();
|
||||
RUNTIME_CONTEXT.remove();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue