Skip to content

Instantly share code, notes, and snippets.

@philippeback
Created December 13, 2018 22:46
Show Gist options
  • Select an option

  • Save philippeback/11076fde42566439bc562ac5d1364032 to your computer and use it in GitHub Desktop.

Select an option

Save philippeback/11076fde42566439bc562ac5d1364032 to your computer and use it in GitHub Desktop.

Revisions

  1. philippeback created this gist Dec 13, 2018.
    10 changes: 10 additions & 0 deletions More Cleanup.st
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,10 @@
    s := World instVarNamed: #worldState.
    l := s instVarNamed: #stepList.
    morphs := l collect: #receiver thenSelect: [ :e | e isKindOf: TransferMorph ].
    morphs do: [ :each | s stopStepping: each ].
    morphs := nil.

    Transcript announcer initialize.
    Smalltalk garbageCollect.

    SystemWindow allInstances