Преглед изворни кода

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.close()
 
+  os.close(file)
   os.unlink(path)