aboutsummaryrefslogtreecommitdiffstats
path: root/msg.c
diff options
context:
space:
mode:
Diffstat (limited to 'msg.c')
-rw-r--r--msg.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/msg.c b/msg.c
index 5427a963..c0bf38ae 100644
--- a/msg.c
+++ b/msg.c
@@ -162,7 +162,6 @@ gawk_exit(int status)
longjmp(fatal_tag, 1);
}
- /* we could close_io() here */
final_exit(status);
}
@@ -173,6 +172,8 @@ final_exit(int status)
{
/* run any extension exit handlers */
run_ext_exit_handlers(status);
+
+ /* we could close_io() here */
close_extensions();
exit(status);