Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
PROTON-1030: workaround that resets reactors handlers after stopping …
…to allow it to be freed
  • Loading branch information
grs committed Oct 21, 2015
1 parent c799a29 commit bbba61a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions proton-c/bindings/python/proton/reactor.py
Expand Up @@ -159,6 +159,8 @@ def process(self):
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)
Expand Down

0 comments on commit bbba61a

Please sign in to comment.