Pārlūkot izejas kodu

Fixed build.py not closing temp file.

This was breaking it on Windows.
alteredq 13 gadi atpakaļ
vecāks
revīzija
fc73cdc24a
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  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)