From 21a01e3ad4e2e77dccf73e8fd069370749880757 Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Wed, 6 Jun 2012 22:14:32 +0300 Subject: Hook in extension at_exit functions. --- msg.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'msg.c') 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); } -- cgit v1.2.3