Skip to content

Commit

Permalink
don't call on_fail during shutdown also
Browse files Browse the repository at this point in the history
  • Loading branch information
piotrmaslanka committed May 6, 2020
1 parent e1e0eb3 commit e8ce437
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion coolamqp/clustering/cluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ def shutdown(self, wait=True): # type: (bool) -> None
:param wait: block until this is done
:raise RuntimeError: if called without start() being called first
"""

self.connected = False
try:
self.listener
except AttributeError:
Expand Down

0 comments on commit e8ce437

Please sign in to comment.