Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →
class method
ObjectSpace.undefine_finalizer
ObjectSpace.undefine_finalizer(obj)
gc.c
View on GitHub ↗
static VALUE
undefine_final(VALUE os, VALUE obj)
{
return rb_undefine_finalizer(obj);
}
Removes all finalizers for obj.
See also
.trace_object_allocations_stop
#dump
.trace_object_allocations_start
#dump_all
also in
4.1 · 4.0 · 3.4 · 3.2 · 3.1 · 3.0