|
Re: Do I need to close a FileStream?: msg#00151lang.smalltalk.squeak.beginners
On Mar 24, 2007, at 17:41 , Tim Johnson wrote:
Actually it is indeed. We use finalization for this [*]. However, you cannot know _when_ an object actually will be finalized, so you may be eating up handles nontheless. Now I know otherwise :) It's good practice not to rely on finalization, but treat it as a safety net. - Bert - [*] See for example http://www.mail-archive.com/beginners@xxxxxxxxxxxxxxxxxxxxxxxxxx/ msg01719.html or http://www.google.com/search?q=squeak+finalization
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Connectors, Luke Gorrie |
|---|---|
| Next by Date: | Re: Re: Squeak - for a different Summer of Code!, Offray Vladimir Luna Cárdenas |
| Previous by Thread: | Re: Do I need to close a FileStream?, Tim Johnson |
| Next by Thread: | Re: Do I need to close a FileStream?, Kyle Hamilton |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |