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() closeConsumer()
consumer = null consumer = null
val closingSession = session val closingSession = session
eventLoop.execute { eventLoop.execute @DontInstrument {
synchronized(artemis!!) { synchronized(artemis!!) {
if (session == closingSession) { if (session == closingSession) {
artemis(ArtemisState.STOPPING) { artemis(ArtemisState.STOPPING) {