File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 2828#include "ruby/util.h"
2929#include "ruby/vm.h"
3030#include "ruby/internal/encoding/string.h"
31- #include "internal/object.h"
3231#include "ccan/list/list.h"
3332#include "darray.h"
3433#include "gc/gc.h"
@@ -2972,7 +2971,7 @@ rb_gc_impl_shutdown_free_objects(void *objspace_ptr)
29722971 if (RB_BUILTIN_TYPE (vp ) != T_NONE ) {
29732972 rb_gc_obj_free_vm_weak_references (vp );
29742973 if (rb_gc_obj_free (objspace , vp )) {
2975- RBASIC_RESET_FLAGS (vp );
2974+ RBASIC (vp )-> flags = 0 ;
29762975 }
29772976 }
29782977 }
@@ -3046,7 +3045,7 @@ rb_gc_impl_shutdown_call_finalizer(void *objspace_ptr)
30463045 if (rb_gc_shutdown_call_finalizer_p (vp )) {
30473046 rb_gc_obj_free_vm_weak_references (vp );
30483047 if (rb_gc_obj_free (objspace , vp )) {
3049- RBASIC_RESET_FLAGS (vp );
3048+ RBASIC (vp )-> flags = 0 ;
30503049 }
30513050 }
30523051 }
You can’t perform that action at this time.
0 commit comments