소스 검색

prevent crash when too many files are opened

Chris McDonough 10 년 전
부모
커밋
ffcc311f36
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      supervisor/options.py

+ 1 - 0
supervisor/options.py

@@ -1518,6 +1518,7 @@ class ServerOptions(Options):
             for fd in pipes.values():
                 if fd is not None:
                     self.close_fd(fd)
+            raise
 
     def close_parent_pipes(self, pipes):
         for fdname in ('stdin', 'stdout', 'stderr'):