mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
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
1 changed files with 1 additions and 1 deletions
|
@ -2375,7 +2375,7 @@ autoload_table_memsize(const void *ptr)
|
|||
static void
|
||||
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 = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue