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/go1 Commit: c799a295b66891940f40c77b0fd5aca9197bc872 Parents: fc6e0d3 Author: Gordon Sim <g...@redhat.com> Authored: Wed Oct 21 20:30:53 2015 +0100 Committer: Gordon Sim <g...@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-unsubscr...@qpid.apache.org For additional commands, e-mail: commits-h...@qpid.apache.org