[FIX] MessageTally-ensure-fix-avi

avi at beta4.com avi at beta4.com
Thu Jan 22 20:38:23 UTC 2004


from preamble:

"Change Set:		MessageTally-ensure-fix-avi
Date:			22 January 2004
Author:			Avi Bryant

rev2 - indentation fixed to satsify Julian.

This adds an #ensure: guard to the block evaluated in
MessageTally>>spyOn:every:, to make sure that the tally process ends
even if the block is curtailed.  Without this change, it was possible to
wreak havoc with, eg,

[MessageTally spyOn: [self error: 'foo']] fork"!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: MessageTally-ensure-fix-avi.cs.gz
Type: application/octet-stream
Size: 898 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20040122/b48aa49b/MessageTally-ensure-fix-avi.cs.obj


More information about the Squeak-dev mailing list