浏览代码

Fixed build.py not closing temp file.

This was breaking it on Windows.
alteredq 13 年之前
父节点
当前提交
fc73cdc24a
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      utils/build.py

+ 1 - 0
utils/build.py

@@ -59,6 +59,7 @@ def main(argv=None):
     f.write(("// %s - http://github.com/mrdoob/three.js\n" % os.path.basename(output)) + text)
     f.write(("// %s - http://github.com/mrdoob/three.js\n" % os.path.basename(output)) + text)
     f.close()
     f.close()
 
 
+  os.close(file)
   os.unlink(path)
   os.unlink(path)