You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ac...@apache.org on 2015/10/23 16:36:43 UTC
[41/50] [abbrv] qpid-proton git commit: PROTON-1030: workaround that
resets reactors handlers after stopping to allow it to be freed
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/go1
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