From 1a4aaf18f5ec6149315aabc53dbe667f1abfdb62 Mon Sep 17 00:00:00 2001 From: john haque Date: Sat, 21 Apr 2012 05:52:19 -0500 Subject: Add optional shutdown routine for an extension lib. --- msg.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'msg.c') diff --git a/msg.c b/msg.c index 78818187..dabd20e3 100644 --- a/msg.c +++ b/msg.c @@ -158,5 +158,9 @@ gawk_exit(int status) exit_val = status; longjmp(fatal_tag, 1); } + + /* we could close_io() here */ + close_extensions(); + exit(status); } -- cgit v1.2.1