[Bug #20981] Bring back rb_undefine_finalizer
This commit is contained in:
parent
69bb296fa6
commit
7df5d65eac
Notes:
git
2024-12-25 13:52:01 +00:00
6
gc.c
6
gc.c
@ -1618,6 +1618,12 @@ os_each_obj(int argc, VALUE *argv, VALUE os)
|
|||||||
|
|
||||||
static VALUE
|
static VALUE
|
||||||
undefine_final(VALUE os, VALUE obj)
|
undefine_final(VALUE os, VALUE obj)
|
||||||
|
{
|
||||||
|
return rb_undefine_finalizer(obj);
|
||||||
|
}
|
||||||
|
|
||||||
|
VALUE
|
||||||
|
rb_undefine_finalizer(VALUE obj)
|
||||||
{
|
{
|
||||||
rb_check_frozen(obj);
|
rb_check_frozen(obj);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user