diff options
| author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2023-09-19 14:09:04 +0900 |
|---|---|---|
| committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2023-09-19 14:09:53 +0900 |
| commit | 647390308239fbf82d159ecd83ed8df090af518d (patch) | |
| tree | fdf45ee120b25aa8aa51bc8a3a20b544c0ea41c5 | |
| parent | 4634405f7c7a7e0b5490ed3de35c12aad9c91bf5 (diff) | |
[Bug #18257] Register the class path of FrozenCore to mark
ICLASS does not have the path usually, so it needs to be registered
separately.
| -rw-r--r-- | vm.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -3711,6 +3711,7 @@ Init_VM(void) RBASIC_CLEAR_CLASS(klass); rb_obj_freeze(klass); rb_gc_register_mark_object(fcore); + rb_gc_register_mark_object(rb_class_path_cached(fcore)); rb_mRubyVMFrozenCore = fcore; /* |
