finalisation
Craig Latta
craig at netjam.org
Thu Jan 22 22:55:13 UTC 2004
> > 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. :)
-C
--
Craig Latta
improvisational musical informaticist
craig at netjam.org
www.netjam.org
[|] Proceed for Truth!
More information about the Squeak-dev
mailing list
|