Browse Source

AMQP result backend: Fixed typo channel.release -> channel.close

Ask Solem 14 years ago
parent
commit
eb81270dbe
1 changed files with 1 additions and 1 deletions
  1. 1 1
      celery/backends/amqp.py

+ 1 - 1
celery/backends/amqp.py

@@ -200,7 +200,7 @@ class AMQPBackend(BaseDictBackend):
             finally:
                 consumer.cancel()
         finally:
-            channel.release()
+            channel.close()
             conn.release()
 
     def get_many(self, task_ids, timeout=None):