[Issue 7022] File.byLine doesn't release file handle

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Apr 8 08:09:55 PDT 2012


http://d.puremagic.com/issues/show_bug.cgi?id=7022


Mike Wey <mike-wey at planet.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mike-wey at planet.nl


--- Comment #1 from Mike Wey <mike-wey at planet.nl> 2012-04-08 08:10:35 PDT ---
byChunk is also affected by this bug, it's caused by File.detatch which is
called by the byLine and byChunk ranges when they reach the end of the file.

But detach currently doesn't decrement the ref count while invalidating a copy
of the File.

https://github.com/D-Programming-Language/phobos/pull/530

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list