You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by wu...@apache.org on 2019/06/27 10:11:50 UTC
[skywalking] branch master updated: remove stackDepth when its 0
(#2957)
This is an automated email from the ASF dual-hosted git repository.
wusheng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/skywalking.git
The following commit(s) were added to refs/heads/master by this push:
new c74ad8d remove stackDepth when its 0 (#2957)
c74ad8d is described below
commit c74ad8d317d4f4e87a6f92c97f75368e2daf040f
Author: caoyixiong <32...@users.noreply.github.com>
AuthorDate: Thu Jun 27 05:11:43 2019 -0500
remove stackDepth when its 0 (#2957)
---
.../plugin/spring/mvc/commons/interceptor/AbstractMethodInterceptor.java | 1 +
1 file changed, 1 insertion(+)
diff --git a/apm-sniffer/apm-sdk-plugin/spring-plugins/mvc-annotation-commons/src/main/java/org/apache/skywalking/apm/plugin/spring/mvc/commons/interceptor/AbstractMethodInterceptor.java b/apm-sniffer/apm-sdk-plugin/spring-plugins/mvc-annotation-commons/src/main/java/org/apache/skywalking/apm/plugin/spring/mvc/commons/interceptor/AbstractMethodInterceptor.java
index ab7c15a..5530649 100644
--- a/apm-sniffer/apm-sdk-plugin/spring-plugins/mvc-annotation-commons/src/main/java/org/apache/skywalking/apm/plugin/spring/mvc/commons/interceptor/AbstractMethodInterceptor.java
+++ b/apm-sniffer/apm-sdk-plugin/spring-plugins/mvc-annotation-commons/src/main/java/org/apache/skywalking/apm/plugin/spring/mvc/commons/interceptor/AbstractMethodInterceptor.java
@@ -158,6 +158,7 @@ public abstract class AbstractMethodInterceptor implements InstanceMethodsAround
ContextManager.getRuntimeContext().remove(REQUEST_KEY_IN_RUNTIME_CONTEXT);
ContextManager.getRuntimeContext().remove(RESPONSE_KEY_IN_RUNTIME_CONTEXT);
+ ContextManager.getRuntimeContext().remove(CONTROLLER_METHOD_STACK_DEPTH);
}
ContextManager.stopSpan();