зеркало из https://github.com/github/ruby.git
merge revision(s) d0a05fd4b40ff0f88728c4897e67b68185128f54:
Fixed FD leaks --- test/socket/test_tcp.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
This commit is contained in:
Родитель
75e7499391
Коммит
6d540c1b98
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче