Branch: Tag:

2000-09-28

2000-09-28 15:37:25 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Delay unload of dynamic modules until all objects are gone.
Fixes spurious SIGSEGVs from do_gc().

Rev: src/dynamic_load.c:1.45
Rev: src/dynamic_load.h:1.4
Rev: src/main.c:1.102

5:   \*/   /**/   #include "global.h" - RCSID("$Id: main.c,v 1.101 2000/08/29 13:40:14 mirar Exp $"); + RCSID("$Id: main.c,v 1.102 2000/09/28 15:37:25 grubba Exp $");   #include "fdlib.h"   #include "backend.h"   #include "module.h"
745:    free_all_callable_blocks();    exit_destroy_called_mark_hash();    +  free_dynamic_load();    free_all_mapping_blocks();    free_all_object_blocks();    first_mapping=0;   #endif   }