aboutsummaryrefslogtreecommitdiffstats
path: root/test/openssl/test_pair.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/openssl/test_pair.rb')
-rw-r--r--test/openssl/test_pair.rb1
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