Ticket #5151: waker-process.patch

File waker-process.patch, 1.0 KB (added by exarkun, 6 years ago)
  • twisted/internet/posixbase.py

     
    226226        method.
    227227        """
    228228        _FDWaker.doRead(self)
    229         process.reapAllProcesses()
     229        try:
     230            process.reapAllProcesses()
     231        except:
     232            log.err()
    230233
    231234
    232235
  • twisted/internet/_baseprocess.py

     
    3434                _missingProcessExited % (qual(self.proto.__class__),),
    3535                DeprecationWarning, stacklevel=0)
    3636        else:
    37             processExited(Failure(reason))
     37            try:
     38                processExited(Failure(reason))
     39            except:
     40                err(None, "unexpected error in processExited")
    3841
    3942
    4043    def processEnded(self, status):