aboutsummaryrefslogtreecommitdiffstats
path: root/msg.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2012-06-06 22:14:32 +0300
committerArnold D. Robbins <arnold@skeeve.com>2012-06-06 22:14:32 +0300
commit21a01e3ad4e2e77dccf73e8fd069370749880757 (patch)
treef3b17367552ef7831c2a67bfa27dc3193ae83356 /msg.c
parentdab3a678b3f65ae4cde21ca4b1d4fd24e8a71918 (diff)
downloadegawk-21a01e3ad4e2e77dccf73e8fd069370749880757.tar.gz
egawk-21a01e3ad4e2e77dccf73e8fd069370749880757.tar.bz2
egawk-21a01e3ad4e2e77dccf73e8fd069370749880757.zip
Hook in extension at_exit functions.
Diffstat (limited to 'msg.c')
-rw-r--r--msg.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/msg.c b/msg.c
index c579b628..22cf5562 100644
--- a/msg.c
+++ b/msg.c
@@ -158,5 +158,9 @@ gawk_exit(int status)
exit_val = status;
longjmp(fatal_tag, 1);
}
+
+ /* run any extension exit handlers */
+ run_ext_exit_handlers(status);
+
exit(status);
}