summaryrefslogtreecommitdiff
path: root/ractor.c
diff options
context:
space:
mode:
authorMarc-Andre Lafortune <github@marc-andre.ca>2020-11-30 15:51:30 -0500
committerMarc-André Lafortune <github@marc-andre.ca>2020-11-30 19:33:37 -0500
commite25165b3fc72166a85ed10e49609153d72333388 (patch)
tree4217620186b22442677853cfe0b880f98398a5a0 /ractor.c
parent750e2d9e5ef40f3d69cee957c263a925ff3a3ad6 (diff)
Fix `Ractor.make_shareable` for recursive structures with unfreezable components
Followup to #3823
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/3827
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 9a09312cf2..6b46d4ba95 100644
--- a/ractor.c
+++ b/ractor.c
@@ -2089,7 +2089,7 @@ rb_ractor_make_shareable(VALUE obj)
{
rb_obj_traverse(obj,
make_shareable_check_shareable,
- mark_shareable, mark_shareable);
+ null_leave, mark_shareable);
return obj;
}