Fix invalid destruction order on exit

darcs-hash:20060215222513-ac50b-f3b489568e4bad3532c36f9c66a3c0d61352cd5b.gz
This commit is contained in:
axel 2006-02-16 08:25:13 +10:00
parent f9a4699147
commit 0427ccbb55

2
main.c
View file

@ -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();