Full garbage collection throughtout the system.
Eric Scharff
Eric.Scharff at Colorado.EDU
Wed Dec 12 19:22:46 UTC 2001
> Ah - the GC is to trigger finalization that might close some
> dangling sockets or files and allow you to proceed...
This reminds me of a question I asked a while back, but I don't remember
the answer.
I try to be careful to call close on any FileStream and socket that I
create in my own code. (I further assume that any system code that I call
that opens file streams also closes them, like
HTTPSocket httpShowGif: 'whatever'
Two questions:
1) Is it helping to do these calls to close?
2) Is it essential, or do the resources eventually get freed in a GC?
Just curious,
-Eric
More information about the Squeak-dev
mailing list
|