mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* test/openssl/test_pair.rb (SSLPair#ssl_pair): join the thread, even
on an error. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14246 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
ba3bb2895f
commit
c8c709ddfa
2 changed files with 10 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
Sat Dec 15 23:58:46 2007 Tanaka Akira <akr@fsij.org>
|
||||
|
||||
* test/openssl/test_pair.rb (SSLPair#ssl_pair): join the thread, even
|
||||
on an error.
|
||||
|
||||
Sat Dec 15 23:50:31 2007 Tanaka Akira <akr@fsij.org>
|
||||
|
||||
* test/xmlrpc/webrick_testing.rb: join webrick server thread.
|
||||
|
|
|
@ -54,6 +54,11 @@ module SSLPair
|
|||
else
|
||||
return c, s
|
||||
end
|
||||
ensure
|
||||
if th && th.alive?
|
||||
th.kill
|
||||
th.join
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue