Skip to content

Commit 3391c84

Browse files
nobuhsbt
authored andcommitted
Fixed FD leak
1 parent de72e1e commit 3391c84

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/net/http/test_https.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,8 @@ def test_skip_hostname_verfiction
212212
http.cert_store = TEST_STORE
213213
http.verify_hostname = false
214214
assert_nothing_raised { http.start }
215+
ensure
216+
http&.finish
215217
end
216218
end
217219

0 commit comments

Comments
 (0)