[Vm-dev] VM Maker: VMMaker.oscog-eem.2640.mcz

commits at source.squeak.org commits at source.squeak.org
Sat Dec 28 04:11:50 UTC 2019

Eliot Miranda uploaded a new version of VMMaker to project VM Maker:

==================== 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 model isVMObjectInspector
  		 and: [submorph model coInterpreter == self]) ifTrue:
  			[submorph delete].
  		(submorph model isDebugger
  		 and: [submorph model interruptedProcess suspendedContext findContextSuchThat:
  					(ctxt receiver == cogit
  					 and: [ctxt selector == #simulateCogCodeAt:])
  					or: [ctxt receiver == self
  					 and: [ctxt selector == #interpret]]]]) notNil ifTrue:
+ 			[submorph model windowIsClosing.
+ 			 submorph delete]]!
- 			[submorph delete]]!

More information about the Vm-dev mailing list