浏览代码

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'):