Azure / go-amqp

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

Allow cross receiver message settlement #316

Closed jhendrixMSFT closed 10 months ago

jhendrixMSFT commented 10 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 10 months ago

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