diff options
Diffstat (limited to 'test/openssl/test_pair.rb')
-rw-r--r-- | test/openssl/test_pair.rb | 5 |
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 |