parent: don't kill children when profiling is active.

pull/564/head
David Wilson 6 years ago
parent e587396e70
commit 568044438d

@ -1147,6 +1147,7 @@ class Stream(mitogen.core.Stream):
LOG.debug('%r: PID %d %s', self, pid, wstatus_to_str(status))
return
if not self._router.profiling:
# For processes like sudo we cannot actually send sudo a signal,
# because it is setuid, so this is best-effort only.
LOG.debug('%r: child process still alive, sending SIGTERM', self)

Loading…
Cancel
Save