fix closure and sexp copiyng; fix sacn_custom_data; redo heap managing

This commit is contained in:
danyabeerzun 2020-01-14 17:09:48 +03:00
parent b4f3c22704
commit bfd67eea8f

View file

@ -1267,8 +1267,7 @@ extern void gc_test_and_copy_root (size_t ** root) {
extern void gc_root_scan_data (void) {
size_t * p = &__start_custom_data;
// while (p != &__stop_custom_data) {
while (p < &__stop_custom_data) { // fix bug
while (p < &__stop_custom_data) {
gc_test_and_copy_root (p);
p++;
}