diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-02-11 08:39:57 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-02-11 08:39:57 +0000 |
commit | 83eddaad27990c840ac186cc6cb8941aeb356caf (patch) | |
tree | 1a1432cd9a9c9b86a074a04fe6b7af172dcba1fe /ext/mathn | |
parent | b9d2a4399065197d5a42b78b622ac456ae02d631 (diff) |
* ext/socket/lib/socket.rb (Socket.udp_server_sockets): call the block
if given. close the sockets when the block exits.
(Socket.udp_server_loop): use udp_server_sockets in block form.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22238 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/mathn')
0 files changed, 0 insertions, 0 deletions