librabbitmq: Remove cyclic reference at connection close

This commit is contained in:
Ask Solem 2013-04-22 14:47:21 +01:00
parent 9ec3d41ff5
commit efa792b95c
1 changed files with 1 additions and 0 deletions

View File

@ -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):