summaryrefslogtreecommitdiff
path: root/ractor.c
diff options
context:
space:
mode:
Diffstat (limited to 'ractor.c')
-rw-r--r--ractor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ractor.c b/ractor.c
index 49a92a2661..64e20b46e7 100644
--- a/ractor.c
+++ b/ractor.c
@@ -1230,6 +1230,7 @@ rb_ractor_main_alloc(void)
r->id = ++ractor_last_id;
r->loc = Qnil;
r->name = Qnil;
+ r->self = Qnil;
ruby_single_main_ractor = r;
return r;
@@ -2154,7 +2155,6 @@ static VALUE
ractor_reset_belonging(VALUE obj)
{
#if RACTOR_CHECK_MODE > 0
- rp(obj);
rb_obj_traverse(obj, reset_belonging_enter, null_leave, NULL);
#endif
return obj;