[Pkg] The Trunk: Kernel-eem.1093.mcz

commits at source.squeak.org commits at source.squeak.org
Tue Apr 11 19:03:45 UTC 2017


Eliot Miranda uploaded a new version of Kernel to project The Trunk:
http://source.squeak.org/trunk/Kernel-eem.1093.mcz

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

Name: Kernel-eem.1093
Author: eem
Time: 11 April 2017, 12:03:29.176811 pm
UUID: 89d60290-842f-435b-bee9-25dc3377ad00
Ancestors: Kernel-eem.1092

Avoid a simulation error when attempting to step a terminated process.

=============== Diff against Kernel-eem.1092 ===============

Item was changed:
  ----- Method: Process>>completeStep: (in category 'changing suspended state') -----
  completeStep: aContext 
  	"Resume self until aContext is on top, or if already on top, complete next step"
  
  	| callee |
+ 	self isTerminated ifTrue:
+ 		[^ nil].
+ 	self suspendedContext == aContext ifFalse:
+ 		[^ self complete: (self calleeOf: aContext)].
- 	self suspendedContext == aContext ifFalse: [
- 		^ self complete: (self calleeOf: aContext)].
  	callee := self step.
  	callee == aContext ifTrue: [^ callee].
  	aContext isDead ifTrue: [^ self suspendedContext].  "returned"
  	^ self complete: callee  "finish send"!



More information about the Packages mailing list