Explorar el Código

Fixed build.py not closing temp file.

This was breaking it on Windows.
alteredq hace 13 años
padre
commit
fc73cdc24a
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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)