ruby-changes:39352
From: nobu <ko1@a...>
Date: Wed, 29 Jul 2015 21:41:16 +0900 (JST)
Subject: [ruby-changes:39352] nobu:r51433 (trunk): test_pair.rb: thread leak
nobu 2015-07-29 21:41:09 +0900 (Wed, 29 Jul 2015) New Revision: 51433 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=51433 Log: test_pair.rb: thread leak * test/openssl/test_pair.rb (test_ecdh_callback): fix thread leak. Modified files: trunk/test/openssl/test_pair.rb Index: test/openssl/test_pair.rb =================================================================== --- test/openssl/test_pair.rb (revision 51432) +++ test/openssl/test_pair.rb (revision 51433) @@ -368,6 +368,7 @@ module OpenSSL::TestPairM https://github.com/ruby/ruby/blob/trunk/test/openssl/test_pair.rb#L368 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 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/