Suppress exception report in inner thread
This commit is contained in:
parent
57eaa07ba6
commit
edbe0e224c
@ -52,7 +52,9 @@ class TestFiberThread < Test::Unit::TestCase
|
||||
Fiber.set_scheduler scheduler
|
||||
|
||||
Fiber.schedule do
|
||||
Thread.new{}.join
|
||||
Thread.new{
|
||||
Thread.current.report_on_exception = false
|
||||
}.join
|
||||
end
|
||||
|
||||
scheduler.run
|
||||
|
Loading…
x
Reference in New Issue
Block a user