julian at beta4.com
Thu Jan 22 23:39:52 UTC 2004
Craig Latta wrote:
>>> It should also do the creation inside the ensured block. As
>>>it is, the process running the code could get stopped before the
>>>ensured block is evaluated, leaving the file dangling.
>>In that case, you'd presumably need to add an #ifNotNil: check before
>>closing the file...
> I've always just implemented UndefinedObject>>close, doing nothing. I
> didn't mention it in my previous message because I didn't want to start
> a flamewar. :)
Ok, then, I won't start one ;)
More information about the Squeak-dev