[squeak-dev] The Inbox: Kernel-jar.1375.mcz

commits at source.squeak.org commits at source.squeak.org
Sun Feb 28 12:39:22 UTC 2021


A new version of Kernel was added to project The Inbox:
http://source.squeak.org/inbox/Kernel-jar.1375.mcz

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

Name: Kernel-jar.1375
Author: jar
Time: 28 February 2021, 1:39:18.242036 pm
UUID: 5fa0cf53-5852-2949-b7f0-a13d8729925b
Ancestors: Kernel-codefrau.1374

Fix Process class >> #forContext:priority: potentially crashing image

=============== Diff against Kernel-codefrau.1374 ===============

Item was changed:
  ----- Method: Process class>>forContext:priority: (in category 'instance creation') -----
  forContext: aContext priority: anInteger 
  	"Answer an instance of me that has suspended aContext at priority 
  	anInteger."
  
  	| newProcess |
  	newProcess := self new.
+ 	newProcess suspendedContext: aContext asContext.
- 	newProcess suspendedContext: aContext.
  	newProcess priority: anInteger.
  	^newProcess!



More information about the Squeak-dev mailing list