The Trunk: Morphic-mt.1199.mcz

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

The Trunk: Morphic-mt.1199.mcz

commits-2
Marcel Taeumel uploaded a new version of Morphic to project The Trunk:
http://source.squeak.org/trunk/Morphic-mt.1199.mcz

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

Name: Morphic-mt.1199
Author: mt
Time: 28 July 2016, 10:29:17.521721 am
UUID: c1d1bd2b-0884-f749-8b20-91ddd42be224
Ancestors: Morphic-mt.1198

Improve robustness for tricky debugging scenarios.

=============== Diff against Morphic-mt.1198 ===============

Item was changed:
  ----- Method: MorphicProject>>spawnNewProcessIfThisIsUI: (in category 'active process') -----
  spawnNewProcessIfThisIsUI: suspendedProcess
  "Initialize a UI process if needed. Answer true if suspendedProcess was interrupted
  from a UI process."
  self uiProcess == suspendedProcess ifTrue: [
  self spawnNewProcess.
  ^true
  ].
 
  "Ensure that the UI process is running."
+ self uiProcess
+ ifNil: [self spawnNewProcess]
+ ifNotNil: [:p | p isSuspended ifTrue: [
+ self restoreDisplay.
+ self uiProcess resume]].
- self uiProcess isSuspended ifTrue: [
- self restoreDisplay.
- self uiProcess resume].
 
  ^false "no new process was created"
  !