We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6480cc0 commit 070cc74Copy full SHA for 070cc74
spec/ruby/fixtures/code/concurrent.rb
@@ -2,7 +2,7 @@
2
Thread.current[:in_concurrent_rb] = true
3
4
if t = Thread.current[:wait_for]
5
- Thread.pass until t.backtrace && t.backtrace.any? { |call| call.include? 'require' }
+ Thread.pass until t.backtrace && t.backtrace.any? { |call| call.include? 'require' } && t.stop?
6
end
7
8
if Thread.current[:con_raise]
0 commit comments