From: "luke-gru (Luke Gruber) via ruby-core" Date: 2024-01-04T22:24:24+00:00 Subject: [ruby-core:116017] [Ruby master Bug#19387] Issue with ObjectSpace.each_objects not returning objects after starting a ractor Issue #19387 has been updated by luke-gru (Luke Gruber). ruby -v set to 3.3.0 I believe this was closed prematurely due to an unrelated git commit that wrongly tagged it. Please reopen :) ---------------------------------------- Bug #19387: Issue with ObjectSpace.each_objects not returning objects after starting a ractor https://bugs.ruby-lang.org/issues/19387#change-106007 * Author: luke-gru (Luke Gruber) * Status: Closed * Priority: Normal * Assignee: ko1 (Koichi Sasada) * ruby -v: 3.3.0 * Backport: 2.7: UNKNOWN, 3.0: UNKNOWN, 3.1: UNKNOWN, 3.2: UNKNOWN ---------------------------------------- ```ruby 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 } ``` -- https://bugs.ruby-lang.org/ ______________________________________________ ruby-core mailing list -- ruby-core@ml.ruby-lang.org To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org ruby-core info -- https://ml.ruby-lang.org/mailman3/postorius/lists/ruby-core.ml.ruby-lang.org/