Closing FileStreams

Eric Scharff Eric.Scharff at Colorado.EDU
Wed Jul 12 21:03:30 UTC 2000


Simple and probably silly question (but this varies between different
implementations of Smalltalk)

If I create a new file stream (FileStream fileNamed: 'whatever') for
reading, how important is it that I eventually call close on that stream?
Will the stream be closed when the object is garbage collected?

-Eric






More information about the Squeak-dev mailing list