codegen: Explicitly close output

This is just cleaner rather than relying on the GC, and maybe
if we're lucky it will actually solve a problem.

https://bugzilla.gnome.org/show_bug.cgi?id=684909
This commit is contained in:
Colin Walters 2012-09-26 15:44:33 -04:00
parent eb2f5c1e0f
commit ce06987449

View File

@ -194,6 +194,8 @@ def codegen_main():
docbook_gen,
h, c);
ret = gen.generate()
h.close()
c.close()
sys.exit(0)