ascrutae commented on a change in pull request #738: Concurrency conflicts in 
Spring plugin #735
URL: 
https://github.com/apache/incubator-skywalking/pull/738#discussion_r160923141
 
 

 ##########
 File path: 
apm-sniffer/apm-sdk-plugin/spring-plugins/mvc-annotation-commons/src/main/java/org/apache/skywalking/apm/plugin/spring/mvc/commons/interceptor/AbstractMethodInteceptor.java
 ##########
 @@ -80,6 +81,8 @@ public Object afterMethod(EnhancedInstance objInst, Method 
method, Object[] allA
             Tags.STATUS_CODE.set(span, Integer.toString(response.getStatus()));
         }
         ContextManager.stopSpan();
+
+        
((EnhanceRequireObjectCache)objInst.getSkyWalkingDynamicField()).setNativeWebRequest(null);
 
 Review comment:
   I think that you should add some comment so that anyone can understand it

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to