std.mmfile is broken

2015-05-05 Thread Freddy via Digitalmars-d
The garbage collector is not required to call class destructors, but Mmfile is a class and could leak memory. http://dlang.org/phobos/std_mmfile.html

Re: std.mmfile is broken

2015-05-05 Thread Liam McSherry via Digitalmars-d
On Tuesday, 5 May 2015 at 19:53:51 UTC, Freddy wrote: The garbage collector is not required to call class destructors, but Mmfile is a class and could leak memory. http://dlang.org/phobos/std_mmfile.html This would probably be better reported as a bug using the issue tracker: https://issues.d

Re: std.mmfile is broken

2015-05-05 Thread tcak via Digitalmars-d
On Tuesday, 5 May 2015 at 19:53:51 UTC, Freddy wrote: The garbage collector is not required to call class destructors, but Mmfile is a class and could leak memory. http://dlang.org/phobos/std_mmfile.html As far as I know, when a process is terminated, its file handlers are removed by operatin