Christoph Thiede uploaded a new version of Collections to project The Inbox: http://source.squeak.org/inbox/Collections-ct.1063.mcz
==================== Summary ====================
Name: Collections-ct.1063 Author: ct Time: 2 March 2024, 6:08:41.266276 pm UUID: e5cc1f5c-62e6-3d4a-81f0-e8de89f894c4 Ancestors: Collections-mt.1058
Fixes WeakSet>>removeAllSuchThat: for GCs during removal. Please review.
=============== Diff against Collections-mt.1058 ===============
Item was added: + ----- Method: WeakSet>>removeAllSuchThat: (in category 'removing') ----- + removeAllSuchThat: aBlock + "Overridden to avoid NotFound errors when elements where garbage-collected between selection and attempt to removal." + + self copy do: [:each | (aBlock value: each) ifTrue: [self remove: each ifAbsent: []]]!