summaryrefslogtreecommitdiff
path: root/test/net/smtp/test_sslcontext.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/net/smtp/test_sslcontext.rb')
-rw-r--r--test/net/smtp/test_sslcontext.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/net/smtp/test_sslcontext.rb b/test/net/smtp/test_sslcontext.rb
index dd741cf396..4f1dcfe669 100644
--- a/test/net/smtp/test_sslcontext.rb
+++ b/test/net/smtp/test_sslcontext.rb
@@ -33,7 +33,7 @@ module Net
end
def teardown
- @server_thread&.exit
+ @server_thread&.exit&.join
@server_socket&.close
@client_socket&.close
end