diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2022-12-02 16:20:43 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2022-12-02 16:20:43 +0900 |
commit | ad4eab1a8ccacf7dc79a73407978a5591062f057 (patch) | |
tree | a4a7076a3a0fd507042b8c8476fa1ac29628b0d8 | |
parent | 4fa47eabf21f3a13bb614cf8a63708f05decb710 (diff) | |
download | ruby-ad4eab1a8ccacf7dc79a73407978a5591062f057.tar.gz |
Wait killed thread
-rw-r--r-- | test/ruby/test_thread.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/ruby/test_thread.rb b/test/ruby/test_thread.rb index 8ca23e7d02..85fbde2de8 100644 --- a/test/ruby/test_thread.rb +++ b/test/ruby/test_thread.rb @@ -1263,6 +1263,7 @@ q.pop assert_predicate(status, :success?, bug18902) ensure th.kill + th.join end end if Process.respond_to?(:fork) |