aboutsummaryrefslogtreecommitdiffhomepage
path: root/main.c
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2006-02-16 08:25:13 +1000
committerGravatar axel <axel@liljencrantz.se>2006-02-16 08:25:13 +1000
commit0427ccbb55e6252c72f50a311655391426156800 (patch)
treeafd51a83c6a6191f3354f57a7fece3464d7e57e3 /main.c
parentf9a46991479ac2617f65d14f01ae6dd3f6527818 (diff)
Fix invalid destruction order on exit
darcs-hash:20060215222513-ac50b-f3b489568e4bad3532c36f9c66a3c0d61352cd5b.gz
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index 448f6190..0258f8f2 100644
--- a/main.c
+++ b/main.c
@@ -295,11 +295,11 @@ int main( int argc, char **argv )
proc_fire_event( L"PROCESS_EXIT", EVENT_EXIT, getpid(), res );
+ complete_destroy();
proc_destroy();
env_destroy();
builtin_destroy();
function_destroy();
- complete_destroy();
reader_destroy();
parser_destroy();
wutil_destroy();