flush all xFILEs at exit

This commit is contained in:
Yuichi Nishiwaki 2015-06-10 22:37:05 +09:00
parent 7973794f75
commit 483edb5708
1 changed files with 3 additions and 0 deletions

View File

@ -429,6 +429,9 @@ pic_close(pic_state *pic)
/* free all heap objects */
pic_gc_run(pic);
/* flush all xfiles */
xfflush(NULL);
/* free heaps */
pic_heap_close(pic, pic->heap);