Y
Hacker News
new
|
ask
|
show
|
jobs
by
levi_n
1649 days ago
The way the original try/except was structured meant the close() for the socket would never get called, so py-amqp holds onto the reference indefinitely, preventing the garbage collector from doing it's thing.