Skip to content

Commit

Permalink
update debug message location
Browse files Browse the repository at this point in the history
  • Loading branch information
wavezhang committed Aug 8, 2019
1 parent 1fccae8 commit 1441222
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/exabgp/reactor/api/processes.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 1441222

Please sign in to comment.