mirror of https://github.com/celery/kombu.git
librabbitmq: Remove cyclic reference at connection close
This commit is contained in:
parent
9ec3d41ff5
commit
efa792b95c
|
@ -118,6 +118,7 @@ class Transport(base.Transport):
|
|||
|
||||
def close_connection(self, connection):
|
||||
"""Close the AMQP broker connection."""
|
||||
self.client.drain_events = None
|
||||
connection.close()
|
||||
|
||||
def verify_connection(self, connection):
|
||||
|
|
Loading…
Reference in New Issue