Fix rabbitmq NullPointerException (#12109)

This commit is contained in:
Shelby Huang 2024-08-26 19:50:36 +08:00 committed by GitHub
parent 0ef7e50051
commit 3fc1bbec8c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 0 deletions

View File

@ -128,6 +128,9 @@ public class RabbitChannelInstrumentation implements TypeInstrumentation {
if (callDepth.decrementAndGet() > 0) {
return;
}
if (scope == null) {
return;
}
scope.close();