mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
merge revision(s) d0a05fd4b4
:
Fixed FD leaks --- test/socket/test_tcp.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
This commit is contained in:
parent
75e7499391
commit
6d540c1b98
2 changed files with 2 additions and 2 deletions
|
@ -129,7 +129,7 @@ class TestSocket_TCPSocket < Test::Unit::TestCase
|
|||
Thread.new { server.accept.close }
|
||||
end
|
||||
client_threads = Array.new(client_threads_count) do
|
||||
Thread.new { TCPSocket.open(server.addr[3], server.addr[1]) }
|
||||
Thread.new { TCPSocket.open(server.addr[3], server.addr[1]) {} }
|
||||
end
|
||||
client_threads.each(&:join)
|
||||
accept_threads.each(&:join)
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
# define RUBY_VERSION_MINOR RUBY_API_VERSION_MINOR
|
||||
#define RUBY_VERSION_TEENY 3
|
||||
#define RUBY_RELEASE_DATE RUBY_RELEASE_YEAR_STR"-"RUBY_RELEASE_MONTH_STR"-"RUBY_RELEASE_DAY_STR
|
||||
#define RUBY_PATCHLEVEL 149
|
||||
#define RUBY_PATCHLEVEL 150
|
||||
|
||||
#define RUBY_RELEASE_YEAR 2021
|
||||
#define RUBY_RELEASE_MONTH 11
|
||||
|
|
Loading…
Reference in a new issue