diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-07-29 12:41:09 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-07-29 12:41:09 +0000 |
commit | 621bf532fc700b4abb97e9aa4c40fa9c5d3b800e (patch) | |
tree | c2e81cb62e48c3af55fe00aae1de9ee292e505f0 /test/openssl/test_pair.rb | |
parent | ede1c141c62015eb413655310f046906775b375b (diff) |
test_pair.rb: thread leak
* test/openssl/test_pair.rb (test_ecdh_callback): fix thread leak.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51433 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/openssl/test_pair.rb')
-rw-r--r-- | test/openssl/test_pair.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/openssl/test_pair.rb b/test/openssl/test_pair.rb index cd5d5d8959..5bf74e596d 100644 --- a/test/openssl/test_pair.rb +++ b/test/openssl/test_pair.rb @@ -368,6 +368,7 @@ module OpenSSL::TestPairM sock1.close if sock1 sock2.close if sock2 accepted.close if accepted.respond_to?(:close) + th.join rescue nil end def test_connect_accept_nonblock_no_exception |