1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Explicitly close the tcp connection.

Without this, the connection will be alive without GC after exit
the block and the test will fail as "TCPServer was closed and SSLServer
is still alive" on 64bit Unix: at least CentOS, Ubuntu, and FreeBSD.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33300 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
naruse 2011-09-20 01:23:33 +00:00
parent 35c065ae0e
commit c7b58831a3

View file

@ -212,6 +212,7 @@ tddwpBAEDjcwMzA5NTYzMTU1MzAwpQMCARM=
ssl.session = session
assert_equal session, ssl.session
sock.close
}
end