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

Updated by hsbt (Hiroshi SHIBATA) about 1 year ago

  • Status changed from Open to Assigned
  • Assignee set to ko1 (Koichi Sasada)

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

Or rather, maybe they should be allowed to be passed but the deep clone logic should change? Not sure.

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

This has since been fixed, please close. Thanks.

Actions #4

Updated by byroot (Jean Boussier) about 1 month ago

  • Status changed from Assigned to Closed
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0