Nov. 5, 2012
9:14 p.m.
Thanks for the clarification. Damien Cassou wrote:
On Sat, Nov 3, 2012 at 3:23 AM, Ben Coman <btc@openinworld.com> wrote:
My prior assumption has been that once 'myStream' drops the reference drops to the previous stream, garbage collection would take care of 'everything'.
unless you do it very very frequently, you should be fine. But in real source code, pay attention to always close manually.
-- Damien Cassou http://damiencassou.seasidehosting.st
"Success is the ability to go from one failure to another without losing enthusiasm." Winston Churchill