Project

General

Profile

« Previous | Next » 

Revision b9d2a439

Added by akr (Akira Tanaka) over 16 years ago

  • ext/socket/lib/socket.rb (Socket.tcp_server_sockets): call the block
    if given. close the sockets when the block exits.
    (Socket.tcp_server_loop): use tcp_server_sockets in block form.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22237 b2dd03c8-39d4-4d8f-98ff-823fe69b080e