diff --git a/kombu/connection.py b/kombu/connection.py index 9d521417..34fe9928 100644 --- a/kombu/connection.py +++ b/kombu/connection.py @@ -290,7 +290,7 @@ class BrokerConnection(object): return self def __exit__(self, *args): - self.release() + self.close() @property def connection(self):