diff options
author | Aaron Patterson <[email protected]> | 2023-06-01 14:55:36 -0700 |
---|---|---|
committer | Aaron Patterson <[email protected]> | 2023-06-01 14:55:36 -0700 |
commit | 10621f7cb9a0c70e568f89cce47a02e878af6778 () | |
tree | cb8ce96582f7780a8093be1239689f768c74e6e5 /variable.c | |
parent | 2d2893f206b1ff012ac68bddbeb860ca737b765f (diff) |
Revert "Fix cvar caching when class is cloned"
This reverts commit 77d1b082470790c17c24a2f406b4fec5d522636b.
-rw-r--r-- | variable.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -3693,7 +3693,6 @@ rb_cvar_set(VALUE klass, ID id, VALUE val) ent = ALLOC(struct rb_cvar_class_tbl_entry); ent->class_value = target; ent->global_cvar_state = GET_GLOBAL_CVAR_STATE(); - ent->cref = 0; rb_id_table_insert(rb_cvc_tbl, id, (VALUE)ent); RB_DEBUG_COUNTER_INC(cvar_inline_miss); } |