Преглед на файлове

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)