The Trunk: ST80-mt.200.mcz

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

The Trunk: ST80-mt.200.mcz

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

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

Name: ST80-mt.200
Author: mt
Time: 12 April 2016, 6:30:14.560201 pm
UUID: c8e17ae9-8f1f-664a-beee-27026e58c790
Ancestors: ST80-mt.199

Let projects decide how to clean-up their processes.

=============== Diff against ST80-mt.199 ===============

Item was changed:
  ----- Method: MVCProject>>scheduleProcessForEnter: (in category 'enter') -----
  scheduleProcessForEnter: showZoom
  "Complete the enter: by launching a new process"
 
  | newProcess |
  SystemWindow clearTopWindow. "break external ref to this project"
  newProcess := [
  ScheduledControllers resetActiveController. "in case of walkback in #restore"
  showZoom ifFalse: [ScheduledControllers restore].
  ScheduledControllers searchForActiveController
  ] newProcess priority: Processor userSchedulingPriority.
  newProcess resume. "lose the current process and its referenced morphs"
- Processor terminateActive
  !

Item was added:
+ ----- Method: MVCProject>>terminateProcessForLeave (in category 'enter') -----
+ terminateProcessForLeave
+ "There is only one active controller at a time. Kill it's process."
+
+ self assert: Processor activeProcess == world activeControllerProcess.
+ Processor terminateActive.!