We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 32b97f5 commit fdc1396Copy full SHA for fdc1396
gc/mmtk/mmtk.c
@@ -4,7 +4,6 @@
4
#include "ruby/assert.h"
5
#include "ruby/atomic.h"
6
#include "ruby/debug.h"
7
-#include "internal/object.h"
8
9
#include "gc/gc.h"
10
#include "gc/gc_impl.h"
@@ -1021,7 +1020,7 @@ rb_gc_impl_shutdown_call_finalizer(void *objspace_ptr)
1021
1020
1022
if (rb_gc_shutdown_call_finalizer_p(obj)) {
1023
rb_gc_obj_free(objspace_ptr, obj);
1024
- RBASIC_RESET_FLAGS(obj);
+ RBASIC(obj)->flags = 0;
1025
}
1026
1027
mmtk_free_raw_vec_of_obj_ref(registered_candidates);
0 commit comments