Remove current RUNTIME_CONTEXT when the lastSpan will be stop (#2827)

This commit is contained in:
小水怪 2019-06-08 21:07:31 +08:00 committed by 吴晟 Wu Sheng
parent 7f2277091d
commit 3831c5eeb5
1 changed files with 1 additions and 0 deletions

View File

@ -168,6 +168,7 @@ public class ContextManager implements BootService {
public static void stopSpan(AbstractSpan span) {
if (get().stopSpan(span)) {
CONTEXT.remove();
RUNTIME_CONTEXT.remove();
}
}