Browse Source

Fixed build.py not closing temp file.

This was breaking it on Windows.
alteredq 13 năm trước cách đây
mục cha
commit
fc73cdc24a
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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.close()
 
+  os.close(file)
   os.unlink(path)