[FIX] Event unregistering fix

Roel Wuyts wuyts at iam.unibe.ch
Tue Jul 29 15:26:42 UTC 2003


Found a small bug when unregistering events: the collection of keys is 
being modified while being enumerated, so some keys are skipped. Did 
not add a unit test for this, since I don't really know how to make one 
for this (adding enough items would maybe show it, but that is not a 
good reproducable test). Anyhow, the fix is attached. Can you have a 
look, John?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: EventSystemFix.1.cs
Type: application/text
Size: 638 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20030729/f6980b18/EventSystemFix.1.bin
-------------- next part --------------


--
Roel Wuyts                                                   Software 
Composition Group
roel.wuyts at iam.unibe.ch                       University of Bern, 
Switzerland
http://www.iam.unibe.ch/~wuyts/
Board Member of the European Smalltalk User Group: www.esug.org


More information about the Squeak-dev mailing list