streadway / amqp

Go client for AMQP 0.9.1
http://godoc.org/github.com/streadway/amqp
BSD 2-Clause "Simplified" License
4.88k stars 621 forks source link

c.reader() not always exit on c.Close() #456

Closed makasim closed 4 years ago

makasim commented 4 years ago

On c.Close() c.heartbeater() might exit just before c.deadlines <- conn is called. Which results in this goroutine being stuck forever.

michaelklishin commented 4 years ago

Thank you!