From 0427ccbb55e6252c72f50a311655391426156800 Mon Sep 17 00:00:00 2001 From: axel Date: Thu, 16 Feb 2006 08:25:13 +1000 Subject: [PATCH] Fix invalid destruction order on exit darcs-hash:20060215222513-ac50b-f3b489568e4bad3532c36f9c66a3c0d61352cd5b.gz --- main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.c b/main.c index 448f61905..0258f8f2e 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();