The Trunk: Morphic-mt.1108.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.1108.mcz

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

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

Name: Morphic-mt.1108
Author: mt
Time: 12 April 2016, 6:29:13.607201 pm
UUID: 55078748-a20e-1049-ad33-dc2def01dcbb
Ancestors: Morphic-mt.1107

Let projects decide how to clean-up their processes.

=============== Diff against Morphic-mt.1107 ===============

Item was changed:
  ----- Method: MorphicProject>>finalExitActions (in category 'enter') -----
  finalExitActions
 
  (world findA: ProjectNavigationMorph)
  ifNotNil: [:navigator | navigator retractIfAppropriate].
 
  World := nil.
 
  ActiveWorld := ActiveHand := ActiveEvent := nil.
+ Sensor flushAllButDandDEvents. "Will be reinstalled by World>>install"!
- Sensor flushAllButDandDEvents. "Will be reinstalled by World>>install"
-
- uiProcess := nil. "forget the uiProcess that soon will be terminated"!

Item was changed:
  ----- Method: MorphicProject>>scheduleProcessForEnter: (in category 'enter') -----
  scheduleProcessForEnter: showZoom
  "Complete the enter: by launching a new process"
 
  world repairEmbeddedWorlds.
  world triggerEvent: #aboutToEnterWorld.
+ self spawnNewProcess.!
- self spawnNewProcessAndTerminateOld: true.!

Item was added:
+ ----- Method: MorphicProject>>terminateProcessForLeave (in category 'enter') -----
+ terminateProcessForLeave
+ "There is only one UI process. Kill it."
+
+ self assert: Processor activeProcess == uiProcess.
+ uiProcess := nil.
+ Processor terminateActive.!