Drop RB_GC_GUARD patch

It appears that this did not help.
This commit is contained in:
Stan Hu 2022-01-24 00:07:04 -08:00
parent f7db299357
commit d8a6a666c1
No known key found for this signature in database
GPG key ID: 8D3931AD39CC7A20

View file

@ -1,12 +0,0 @@
diff --git a/ext/objspace/object_tracing.c b/ext/objspace/object_tracing.c
index a057ac2a96..a122247e3b 100644
--- a/ext/objspace/object_tracing.c
+++ b/ext/objspace/object_tracing.c
@@ -110,6 +110,7 @@ newobj_i(VALUE tpval, void *data)
info->class_path = class_path_cstr;
info->generation = rb_gc_count();
st_insert(arg->object_table, (st_data_t)obj, (st_data_t)info);
+ RB_GC_GUARD(obj);
}
static void