The Trunk: Collections-nice.270.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Trunk: Collections-nice.270.mcz

commits-2
Nicolas Cellier uploaded a new version of Collections to project The Trunk:
http://source.squeak.org/trunk/Collections-nice.270.mcz

==================== Summary ====================

Name: Collections-nice.270
Author: nice
Time: 1 January 2010, 1:17:25 am
UUID: 5b66ad19-fe20-4025-a9e3-8713fc034d9f
Ancestors: Collections-ar.269

Don't assign block argument with nil, with closure that is not necessary.

=============== Diff against Collections-ar.269 ===============

Item was changed:
  ----- Method: WeakArray class>>finalizationProcess (in category 'private') -----
  finalizationProcess
 
  [true] whileTrue:
  [FinalizationSemaphore wait.
  FinalizationLock critical:
  [FinalizationDependents do:
  [:weakDependent |
  weakDependent ifNotNil:
+ [weakDependent finalizeValues]]]
- [weakDependent finalizeValues.
- "***Following statement is required to keep weakDependent
- from holding onto its value as garbage.***"
- weakDependent := nil]]]
  ifError:
  [:msg :rcvr | rcvr error: msg].
  ].
  !