Azure / go-amqp

AMQP 1.0 client library for Go.
https://github.com/Azure/go-amqp
MIT License
104 stars 56 forks source link

Allow cross receiver message settlement #316

Closed jhendrixMSFT closed 8 months ago

jhendrixMSFT commented 8 months ago

It's not prevented at present, but can cause a memory leak due to entries never being removed from the unsettledMessages map. When a received message isn't settled, associate its receiver with the message. The settlement APIs will direct to the associated receiver.

jhendrixMSFT commented 8 months ago

Fixes https://github.com/Azure/azure-sdk-for-go/issues/22157