Project

General

Profile

Actions

Bug #19365

closed

Ractors can access non-shareable values through enumerators

Added by luke-gru (Luke Gruber) about 1 year ago. Updated about 1 month ago.


Description

I don't think enumerators should be able to be passed to Ractor.new

obj = Object.new # unshareable value
p obj
Ractor.new([obj].each) {|f| p f.first }.take
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0