aboutsummaryrefslogtreecommitdiffstats
path: root/debug.c
diff options
context:
space:
mode:
authorjohn haque <j.eh@mchsi.com>2012-04-21 05:52:19 -0500
committerjohn haque <j.eh@mchsi.com>2012-04-21 05:52:19 -0500
commit1a4aaf18f5ec6149315aabc53dbe667f1abfdb62 (patch)
tree5c7ad893e1621b7006566f31d8d16707a0258436 /debug.c
parent87dc23679566c5ad96f4869de6aec39c2a4c3aa7 (diff)
downloadegawk-1a4aaf18f5ec6149315aabc53dbe667f1abfdb62.tar.gz
egawk-1a4aaf18f5ec6149315aabc53dbe667f1abfdb62.tar.bz2
egawk-1a4aaf18f5ec6149315aabc53dbe667f1abfdb62.zip
Add optional shutdown routine for an extension lib.
Diffstat (limited to 'debug.c')
-rw-r--r--debug.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/debug.c b/debug.c
index 36454366..8bd3e841 100644
--- a/debug.c
+++ b/debug.c
@@ -5344,6 +5344,8 @@ close_all()
}
}
+ close_extensions();
+
set_gawk_output(NULL); /* closes output_fp if not stdout */
}