Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
PROTON-1028: break cyclical reference in BlockingConnection
  • Loading branch information
grs committed Oct 21, 2015
1 parent fc6e0d3 commit c799a29
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions proton-c/bindings/python/proton/utils.py
Expand Up @@ -249,6 +249,7 @@ def wait(self, condition, timeout=False, msg=None):
self.container.timeout = container_timeout
if self.disconnected or self._is_closed():
self.container.stop()
self.conn.handler = None # break cyclical reference
if self.disconnected and not self._is_closed():
raise ConnectionException("Connection %s disconnected" % self.url)

Expand Down

0 comments on commit c799a29

Please sign in to comment.