Fix autoload_table_compact
The keys are IDs, so we cannot update references on them.
This commit is contained in:
parent
9733304d61
commit
429b867d1b
Notes:
git
2024-12-17 16:03:56 +00:00
@ -2375,7 +2375,7 @@ autoload_table_memsize(const void *ptr)
|
|||||||
static void
|
static void
|
||||||
autoload_table_compact(void *ptr)
|
autoload_table_compact(void *ptr)
|
||||||
{
|
{
|
||||||
rb_gc_update_tbl_refs((st_table *)ptr);
|
rb_gc_ref_update_table_values_only((st_table *)ptr);
|
||||||
}
|
}
|
||||||
|
|
||||||
static const rb_data_type_t autoload_table_type = {
|
static const rb_data_type_t autoload_table_type = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user