mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
parent
9542e3db1c
commit
38ecaca155
1 changed files with 1 additions and 2 deletions
|
@ -4,7 +4,6 @@
|
|||
#include "ruby/assert.h"
|
||||
#include "ruby/atomic.h"
|
||||
#include "ruby/debug.h"
|
||||
#include "internal/object.h"
|
||||
|
||||
#include "gc/gc.h"
|
||||
#include "gc/gc_impl.h"
|
||||
|
@ -1021,7 +1020,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_RESET_FLAGS(obj);
|
||||
RBASIC(obj)->flags = 0;
|
||||
}
|
||||
}
|
||||
mmtk_free_raw_vec_of_obj_ref(registered_candidates);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue