Skip to content

Commit

Permalink
Ensure connection is closed for windows?
Browse files Browse the repository at this point in the history
  • Loading branch information
ioquatix committed Jan 13, 2024
1 parent a9eec79 commit 135e2b2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/openssl/test_ssl.rb
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,8 @@ def test_read_with_timeout
server_connect(port) do |ssl|
ssl.timeout = 0.001
assert_raise(IO::TimeoutError) {ssl.read(1)}
ensure
ssl.close
end
end
end
Expand Down

0 comments on commit 135e2b2

Please sign in to comment.