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 <[email protected]> Authored: Wed Oct 21 20:31:30 2015 +0100 Committer: Gordon Sim <[email protected]> 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: [email protected] For additional commands, e-mail: [email protected]
