copy_stream: cleanup after ourselves
commita301f99563deeb03c93d275330e20ff672519680
authorEric Wong <normalperson@yhbt.net>
Sun, 6 Jun 2010 17:59:10 +0000 (6 17:59 +0000)
committerEric Wong <normalperson@yhbt.net>
Sun, 6 Jun 2010 17:59:10 +0000 (6 17:59 +0000)
treee06e439f436414499ddfd2ab734303b370d7a9fa
parent8aab8c93421519f0ad33ab7d7c5049e12a1362b3
copy_stream: cleanup after ourselves

It's a good idea to clean up any file descriptors
opened within our method to avoid unnecessary GC
invocations.
lib/io/splice.rb