Skip to content

Commit

Permalink
Set flags to zero in rb_mmtk_obj_free_iter_wrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
peterzhu2118 committed Oct 22, 2024
1 parent 9355248 commit a5b0bbd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gc/mmtk.c
Original file line number Diff line number Diff line change
Expand Up @@ -1068,6 +1068,7 @@ rb_gc_impl_shutdown_call_finalizer(void *objspace_ptr)

if (rb_gc_shutdown_call_finalizer_p(obj)) {
rb_gc_obj_free(objspace_ptr, obj);
RBASIC(obj)->flags = 0;
}
}
mmtk_free_raw_vec_of_obj_ref(registered_candidates);
Expand Down

0 comments on commit a5b0bbd

Please sign in to comment.