diff --git a/lib/exabgp/reactor/api/processes.py b/lib/exabgp/reactor/api/processes.py index 73fe224fc..0f0a34d4c 100644 --- a/lib/exabgp/reactor/api/processes.py +++ b/lib/exabgp/reactor/api/processes.py @@ -85,12 +85,12 @@ def _handle_problem (self, process): self._terminate(process) def _terminate (self, process): + self.logger.debug('terminating process %s' % process,'process') thread = Thread(target=self._terminate_run, args = (process,)) thread.start() return thread def _terminate_run (self, process): - self.logger.debug('terminating process %s' % process,'process') try: self._process[process].terminate() self._process[process].wait()