mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Close fds.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46216 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
a7b1cfbb99
commit
971df741b9
1 changed files with 2 additions and 0 deletions
|
@ -87,6 +87,7 @@ module OpenSSL::TestEOF1M
|
||||||
yield s1
|
yield s1
|
||||||
ensure
|
ensure
|
||||||
th.join
|
th.join
|
||||||
|
s1.close
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -97,6 +98,7 @@ module OpenSSL::TestEOF2M
|
||||||
yield s2
|
yield s2
|
||||||
ensure
|
ensure
|
||||||
th.join
|
th.join
|
||||||
|
s2.close
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue