From e8ce43761bca1a99329bea9163e8494552be62c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20Ma=C5=9Blanka?= <piotr.maslanka@henrietta.com.pl> Date: Wed, 6 May 2020 18:50:54 +0200 Subject: [PATCH] don't call on_fail during shutdown also --- coolamqp/clustering/cluster.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coolamqp/clustering/cluster.py b/coolamqp/clustering/cluster.py index 3ec9cc6..dfa1d9a 100644 --- a/coolamqp/clustering/cluster.py +++ b/coolamqp/clustering/cluster.py @@ -259,7 +259,7 @@ class Cluster(object): :param wait: block until this is done :raise RuntimeError: if called without start() being called first """ - + self.connected = False try: self.listener except AttributeError: -- GitLab