

@util.debuglog
def reap_processes(self):
    'Reap all the processes for this watcher.\n        '
    if self.is_stopped():
        logger.debug('do not reap processes as the watcher is stopped')
        return
    for pid in list(self.processes.keys()):
        self.reap_process(pid)

dataset/ETHPy150Open circus-tent/circus/circus/watcher.py Watcher.reap_processes/original