[Pkg] The Trunk: System-nice.223.mcz

commits at source.squeak.org commits at source.squeak.org
Tue Jan 5 20:33:39 UTC 2010


Nicolas Cellier uploaded a new version of System to project The Trunk:
http://source.squeak.org/trunk/System-nice.223.mcz

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

Name: System-nice.223
Author: nice
Time: 5 January 2010, 9:33:21 am
UUID: 18e61a44-3325-47a6-8e2d-79d7e5249e6a
Ancestors: System-dtl.222

move a temp assignment outside block scope

=============== Diff against System-dtl.222 ===============

Item was changed:
  ----- Method: SystemChangeNotifier>>doSilently: (in category 'public') -----
  doSilently: aBlock
  	"Perform the block, and ensure that no system notification are broadcasted while doing so."
  
  	| result |
  	silenceLevel := silenceLevel + 1.
+ 	result := [aBlock value] ensure: [silenceLevel > 0 ifTrue: [silenceLevel := silenceLevel - 1]].
- 	[result := aBlock value] ensure: [silenceLevel > 0 ifTrue: [silenceLevel := silenceLevel - 1]].
  	^ result.!



More information about the Packages mailing list