diff options
author | Benoit Daloze <eregontp@gmail.com> | 2021-02-27 13:00:26 +0100 |
---|---|---|
committer | Benoit Daloze <eregontp@gmail.com> | 2021-02-27 13:00:26 +0100 |
commit | 36dde35e029c7a6607e6c674062ce6fc7a51c0bd (patch) | |
tree | 47f9c820a93d5b9a68f7e903cc01ee607913e2dd /spec/ruby/fixtures/code | |
parent | dbea0be13dc1f44833eca43a73f3ab898fa27c15 (diff) | |
download | ruby-36dde35e029c7a6607e6c674062ce6fc7a51c0bd.tar.gz |
Update to ruby/spec@37e52e5
Diffstat (limited to 'spec/ruby/fixtures/code')
-rw-r--r-- | spec/ruby/fixtures/code/concurrent.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/fixtures/code/concurrent.rb b/spec/ruby/fixtures/code/concurrent.rb index 054b8fc055..b3602a3db4 100644 --- a/spec/ruby/fixtures/code/concurrent.rb +++ b/spec/ruby/fixtures/code/concurrent.rb @@ -2,7 +2,7 @@ ScratchPad.recorded << :con_pre Thread.current[:in_concurrent_rb] = true if t = Thread.current[:wait_for] - 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? end if Thread.current[:con_raise] |