diff options
author | Jeremy Evans <[email protected]> | 2021-09-18 17:37:35 -0700 |
---|---|---|
committer | Jeremy Evans <[email protected]> | 2021-09-18 17:37:35 -0700 |
commit | 162ad65fdd5e3f826eff4e0208c58a21151e993a (patch) | |
tree | 37f725f4561606beb314b31d15218fca318f4715 /vm.c | |
parent | f9fd04ffbc334bb5a3e8a0898ad201ad1c11709d (diff) |
Revert "Do not load file with same realpath twice when requiring"
This reverts commit ddb85c5d2bdf75a83eb163856508691a7436b446.
This commit causes unexpected warnings in TestTranscode#test_loading_race
occasionally in CI.
Diffstat (limited to 'vm.c')
-rw-r--r-- | vm.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -2486,7 +2486,6 @@ rb_vm_update_references(void *ptr) vm->expanded_load_path = rb_gc_location(vm->expanded_load_path); vm->loaded_features = rb_gc_location(vm->loaded_features); vm->loaded_features_snapshot = rb_gc_location(vm->loaded_features_snapshot); - vm->loaded_features_realpaths = rb_gc_location(vm->loaded_features_realpaths); vm->top_self = rb_gc_location(vm->top_self); vm->orig_progname = rb_gc_location(vm->orig_progname); @@ -2574,7 +2573,6 @@ rb_vm_mark(void *ptr) rb_gc_mark_movable(vm->expanded_load_path); rb_gc_mark_movable(vm->loaded_features); rb_gc_mark_movable(vm->loaded_features_snapshot); - rb_gc_mark_movable(vm->loaded_features_realpaths); rb_gc_mark_movable(vm->top_self); rb_gc_mark_movable(vm->orig_progname); RUBY_MARK_MOVABLE_UNLESS_NULL(vm->coverages); |