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:15 UTC

[1/2] qpid-proton git commit: PROTON-1030: workaround that resets reactors handlers after stopping to allow it to be freed

Repository: qpid-proton
Updated Branches:
  refs/heads/master fc6e0d34c -> bbba61afe


PROTON-1030: workaround that resets reactors handlers after stopping to allow it to be freed


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

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

----------------------------------------------------------------------
 proton-c/bindings/python/proton/reactor.py | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/bbba61af/proton-c/bindings/python/proton/reactor.py
----------------------------------------------------------------------
diff --git a/proton-c/bindings/python/proton/reactor.py b/proton-c/bindings/python/proton/reactor.py
index b8e4b6a..8eaee5c 100644
--- a/proton-c/bindings/python/proton/reactor.py
+++ b/proton-c/bindings/python/proton/reactor.py
@@ -159,6 +159,8 @@ class Reactor(Wrapper):
     def stop(self):
         pn_reactor_stop(self._impl)
         self._check_errors()
+        self.global_handler = None
+        self.handler = None
 
     def schedule(self, delay, task):
         impl = _chandler(task, self.on_error)


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


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

Posted by gs...@apache.org.
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