diff options
author | lukeg <[email protected]> | 2023-01-25 07:45:19 -0500 |
---|---|---|
committer | John Hawthorn <[email protected]> | 2025-03-26 16:05:02 -0700 |
commit | d80f3a287c5c8d0404b6cb837db360cab320cde1 (patch) | |
tree | 1d28140a404021294365ceb00d9a1e84562424ee /vm.c | |
parent | 2183899fd184ab1cfee80d57c0dd6f4dcd370375 (diff) |
Ractor.make_shareable(proc_obj) makes inner structure shareable
Proc objects are now traversed like other objects when making them
shareable.
Fixes [Bug #19372]
Fixes [Bug #19374]
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/12977
Diffstat (limited to 'vm.c')
-rw-r--r-- | vm.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1415,7 +1415,7 @@ rb_proc_ractor_make_shareable(VALUE self) proc->is_isolated = TRUE; } - FL_SET_RAW(self, RUBY_FL_SHAREABLE); + rb_obj_freeze(self); return self; } |