ENT-11523: Dont instrument due to the synchronization. Quasar was throwing unable to instrument exception.

This commit is contained in:
Adel El-Beik 2024-03-14 13:55:28 +00:00
parent 7946958804
commit d4829df687

View File

@ -276,7 +276,7 @@ open class AMQPBridgeManager(keyStore: CertificateStore,
closeConsumer()
consumer = null
val closingSession = session
eventLoop.execute {
eventLoop.execute @DontInstrument {
synchronized(artemis!!) {
if (session == closingSession) {
artemis(ArtemisState.STOPPING) {