Fix rabbitmq NullPointerException (#12109)
This commit is contained in:
parent
0ef7e50051
commit
3fc1bbec8c
|
@ -128,6 +128,9 @@ public class RabbitChannelInstrumentation implements TypeInstrumentation {
|
|||
if (callDepth.decrementAndGet() > 0) {
|
||||
return;
|
||||
}
|
||||
if (scope == null) {
|
||||
return;
|
||||
}
|
||||
|
||||
scope.close();
|
||||
|
||||
|
|
Loading…
Reference in New Issue