You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by gs...@apache.org on 2015/10/21 21:47:16 UTC

[2/2] qpid-proton git commit: PROTON-1028: break cyclical reference in BlockingConnection

PROTON-1028: break cyclical reference in BlockingConnection


Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/c799a295
Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/c799a295
Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/c799a295

Branch: refs/heads/master
Commit: c799a295b66891940f40c77b0fd5aca9197bc872
Parents: fc6e0d3
Author: Gordon Sim <gs...@redhat.com>
Authored: Wed Oct 21 20:30:53 2015 +0100
Committer: Gordon Sim <gs...@redhat.com>
Committed: Wed Oct 21 20:31:46 2015 +0100

----------------------------------------------------------------------
 proton-c/bindings/python/proton/utils.py | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/c799a295/proton-c/bindings/python/proton/utils.py
----------------------------------------------------------------------
diff --git a/proton-c/bindings/python/proton/utils.py b/proton-c/bindings/python/proton/utils.py
index 7421a21..935a9d2 100644
--- a/proton-c/bindings/python/proton/utils.py
+++ b/proton-c/bindings/python/proton/utils.py
@@ -249,6 +249,7 @@ class BlockingConnection(Handler):
                 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)
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org