Skip to content
Snippets Groups Projects
Commit c52c6ab3 authored by Niels Möller's avatar Niels Möller
Browse files

* main.c (exit_main): Call cleanup_objects() *before*

exit_dynamic_load(). Otherwise, cleanup_object() will try to
destruct objects whose corresponding program have been freed and
unloaded.

Rev: src/main.c:1.14
parent 0682ec9a
Branches
Tags
No related merge requests found
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
||| See the files COPYING and DISCLAIMER for more information. ||| See the files COPYING and DISCLAIMER for more information.
\*/ \*/
#include "global.h" #include "global.h"
RCSID("$Id: main.c,v 1.13 1996/12/05 01:51:21 hubbe Exp $"); RCSID("$Id: main.c,v 1.14 1997/01/14 18:16:23 nisse Exp $");
#include "types.h" #include "types.h"
#include "backend.h" #include "backend.h"
#include "module.h" #include "module.h"
...@@ -273,8 +273,8 @@ void exit_main() ...@@ -273,8 +273,8 @@ void exit_main()
void cleanup_program(); void cleanup_program();
th_cleanup(); th_cleanup();
exit_dynamic_load();
cleanup_objects(); cleanup_objects();
exit_dynamic_load();
exit_signals(); exit_signals();
exit_lex(); exit_lex();
cleanup_interpret(); cleanup_interpret();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment