VM Maker: VMMaker.oscog-eem.2640.mcz

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

VM Maker: VMMaker.oscog-eem.2640.mcz

commits-2
 
Eliot Miranda uploaded a new version of VMMaker to project VM Maker:
http://source.squeak.org/VMMaker/VMMaker.oscog-eem.2640.mcz

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

Name: VMMaker.oscog-eem.2640
Author: eem
Time: 27 December 2019, 8:11:37.577367 pm
UUID: 4beab13e-d05a-4a1e-b911-06858f44f405
Ancestors: VMMaker.oscog-eem.2639

Oops! Fix stupid slip causing awful bug in new attempt to close attendent debuggers when closing the simulation window.

=============== Diff against VMMaker.oscog-eem.2639 ===============

Item was changed:
  ----- Method: CogVMSimulator>>close (in category 'initialization') -----
  close  "close any files that ST may have opened, etc"
  pluginList do: [:assoc| | plugin | plugin := assoc value. plugin ~~ self ifTrue: [plugin close]].
  "Ugh; at least some of this code belongs in the UI..."
  World submorphs do:
  [:submorph|
  (submorph model isVMObjectInspector
  and: [submorph model coInterpreter == self]) ifTrue:
  [submorph delete].
  (submorph model isDebugger
  and: [submorph model interruptedProcess suspendedContext findContextSuchThat:
  [:ctxt|
  (ctxt receiver == cogit
  and: [ctxt selector == #simulateCogCodeAt:])
  or: [ctxt receiver == self
  and: [ctxt selector == #interpret]]]]) notNil ifTrue:
+ [submorph model windowIsClosing.
+ submorph delete]]!
- [submorph delete]]!