Closing streams on deletion

Frits van Bommel fvbommel at REMwOVExCAPSs.nl
Fri Jan 26 05:59:17 PST 2007


Jarrett Billingsley wrote:
> "Max Samukha" <samukha at voliacable.com> wrote in message 
> news:bbvjr29j6nkd58e89t7m0oid09001sph72 at 4ax.com...
> 
>> Thanks, Frits. I've overlooked the paragraph in the specs:
>> "When the garbage collector calls a destructor for an object of a
>> class that has members that are references to garbage collected
>> objects, those references are no longer valid."
>> Shouldn't it be in red bold underlined font? :)
> 
> Personally I think it should be changed outright.. 

Feel free to modify the GC, thoroughly test it, and submit the patch to 
bugzilla...

(Oh, and make sure the performance doesn't suffer too much :p)


More information about the Digitalmars-d-learn mailing list