ruby-changes:68127
From: Nobuyoshi <ko1@a...>
Date: Sun, 26 Sep 2021 20:50:12 +0900 (JST)
Subject: [ruby-changes:68127] 7d4a0c4b93 (ruby_3_0): Suppress exception report in inner thread
https://git.ruby-lang.org/ruby.git/commit/?id=7d4a0c4b93 From 7d4a0c4b93cbdf40a9a43c4974199405099a8545 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Tue, 15 Jun 2021 00:03:05 +0900 Subject: Suppress exception report in inner thread --- test/fiber/test_thread.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/fiber/test_thread.rb b/test/fiber/test_thread.rb index 7221f76..843604b 100644 --- a/test/fiber/test_thread.rb +++ b/test/fiber/test_thread.rb @@ -52,7 +52,9 @@ class TestFiberThread < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/fiber/test_thread.rb#L52 Fiber.set_scheduler scheduler Fiber.schedule do - Thread.new{}.join + Thread.new{ + Thread.current.report_on_exception = false + }.join end scheduler.run -- cgit v1.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/