diff options
-rw-r--r-- | gc/default/default.c | 4 | ||||
-rw-r--r-- | gc/mmtk/mmtk.c | 4 | ||||
-rw-r--r-- | test/objspace/test_ractor.rb | 19 |
3 files changed, 27 insertions, 0 deletions
@@ -2774,7 +2774,11 @@ rb_gc_impl_undefine_finalizer(void *objspace_ptr, VALUE obj) GC_ASSERT(!OBJ_FROZEN(obj)); st_data_t data = obj; st_delete(finalizer_table, &data, 0); FL_UNSET(obj, FL_FINALIZE); } @@ -966,7 +966,11 @@ rb_gc_impl_undefine_finalizer(void *objspace_ptr, VALUE obj) struct objspace *objspace = objspace_ptr; st_data_t data = obj; st_delete(objspace->finalizer_table, &data, 0); FL_UNSET(obj, FL_FINALIZE); } @@ -14,4 +14,23 @@ class TestObjSpaceRactor < Test::Unit::TestCase end RUBY end end |