Project

General

Profile

Actions

Bug #19387

open

Issue with ObjectSpace.each_objects not returning objects after starting a ractor

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

Status:
Open
Target version:
-
[ruby-core:112091]

Description

r = Ractor.new do
  receive # block, the problem is not the termination of the ractor but the starting
end

ObjectSpace.each_object(IO) { |io|
  p io # we get no objects
}
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0