Skip to content

Commit

Permalink
merge revision(s) d0a05fd:
Browse files Browse the repository at this point in the history
	Fixed FD leaks

	---
	 test/socket/test_tcp.rb | 2 +-
	 1 file changed, 1 insertion(+), 1 deletion(-)
  • Loading branch information
nagachika committed Nov 6, 2021
1 parent 75e7499 commit 6d540c1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/socket/test_tcp.rb
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ def test_accept_multithread
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)
Expand Down
2 changes: 1 addition & 1 deletion version.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6d540c1

Please sign in to comment.