3 ms·
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, preven
by levi_n 5y 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.