summaryrefslogtreecommitdiff
path: root/test/openssl
diff options
context:
space:
mode:
Diffstat (limited to 'test/openssl')
-rw-r--r--test/openssl/test_pair.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/openssl/test_pair.rb b/test/openssl/test_pair.rb
index 7273554362..17713c9988 100644
--- a/test/openssl/test_pair.rb
+++ b/test/openssl/test_pair.rb
@@ -54,6 +54,11 @@ module SSLPair
else
return c, s
end
+ ensure
+ if th && th.alive?
+ th.kill
+ th.join
+ end
end
end