[FIX] EnsureCloseWhenFilingIn

cmuller at kc.rr.com cmuller at kc.rr.com
Fri Jan 25 05:55:11 UTC 2002


from preamble:

"Change Set:		EnsureCloseWhenFilingIn
Date:			24 January 2002
Author:			Chris Muller

This fix ensures that a file being filed in gets closed if there is a
problem.  Without this change, any problem with filing in will leave the
file open and unable to save any changes to it until it is released by
Squeak.

It is generally good practice to ensure files get closed after you open
them via ensure:, especially for transient operations like filing in
code.  When filing in code from another Smalltalk, it is common to get
debuggers during the file-in.  By ensuring the file gets closed, it
reduces the pain and the need for you to remember to do it yourself.
"!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: EnsureCloseWhenFilingIn.cs.gz
Type: application/octet-stream
Size: 1056 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20020124/e36b30af/EnsureCloseWhenFilingIn.cs.obj


More information about the Squeak-dev mailing list