parent
eee22fb869
commit
e9b9be4ab5
|
|
@ -31,6 +31,7 @@ Release Notes.
|
||||||
* Fixed part of the dynamic configuration of ConfigurationDiscoveryService that does not take effect under certain circumstances.
|
* Fixed part of the dynamic configuration of ConfigurationDiscoveryService that does not take effect under certain circumstances.
|
||||||
* Introduce method interceptor API v2
|
* Introduce method interceptor API v2
|
||||||
* Fix ClassCast issue for RequestHolder/ResponseHolder.
|
* Fix ClassCast issue for RequestHolder/ResponseHolder.
|
||||||
|
* fixed `jdk-threading-plugin` memory leak.
|
||||||
|
|
||||||
#### OAP-Backend
|
#### OAP-Backend
|
||||||
* BugFix: filter invalid Envoy access logs whose socket address is empty.
|
* BugFix: filter invalid Envoy access logs whose socket address is empty.
|
||||||
|
|
|
||||||
|
|
@ -48,12 +48,7 @@ public class ThreadingMethodInterceptor implements InstanceMethodsAroundIntercep
|
||||||
@Override
|
@Override
|
||||||
public Object afterMethod(final EnhancedInstance objInst, final Method method, final Object[] allArguments,
|
public Object afterMethod(final EnhancedInstance objInst, final Method method, final Object[] allArguments,
|
||||||
final Class<?>[] argumentsTypes, final Object ret) {
|
final Class<?>[] argumentsTypes, final Object ret) {
|
||||||
|
|
||||||
final Object storedField = objInst.getSkyWalkingDynamicField();
|
|
||||||
if (storedField != null) {
|
|
||||||
ContextManager.stopSpan();
|
ContextManager.stopSpan();
|
||||||
}
|
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue