mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-06-03 11:20:07 +02:00
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:
parent
eb2f5c1e0f
commit
ce06987449
@ -194,6 +194,8 @@ def codegen_main():
|
|||||||
docbook_gen,
|
docbook_gen,
|
||||||
h, c);
|
h, c);
|
||||||
ret = gen.generate()
|
ret = gen.generate()
|
||||||
|
h.close()
|
||||||
|
c.close()
|
||||||
|
|
||||||
sys.exit(0)
|
sys.exit(0)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user