|
Re: Do I need to close a FileStream?: msg#00155lang.smalltalk.squeak.beginners
I think that some sort of diagnostic code printed out whenever an object's finalization routine must change the internal state of the object such that the criteria for finalization can be met would be a good thing. i.e., if a FileStream is holding a file open, the finalization code should check to see that the file is closed. If it is not, it should warn about changing that state during the finalization. Any finalization-related diagnostics should be treated the same way that other languages call "leaks", and quashed, regardless. -Kyle H On 3/25/07, Bert Freudenberg <bert@xxxxxxxxxxxxxxx> wrote:
-- -Kyle H
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Re: Connectors, Markus Gaelli |
|---|---|
| Next by Date: | Summer of Code: only 1 day left for the student applications, Giovanni Corriga |
| Previous by Thread: | Re: Do I need to close a FileStream?, Bert Freudenberg |
| Next by Thread: | Re: Do I need to close a FileStream?, Tim Johnson |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |