newbie question - killing a process

Bob Arning arning at
Sat Jun 30 20:26:38 UTC 2001

On Sat, 30 Jun 2001 15:35:27 -0400 (EDT) Rosemary Michelle Simpson <rms at> wrote:
>How do you kill a process whose objects have gone away?  I created a
>clock process (part of Mark's examples) and then made the mistake of
>quitting without terminating the process.  Now I have an orphan clock that
>wont go away.  I did as he suggested and did:
>	Smalltalk garbageCollect.
>	Process allInstances inspect.
>This produced a long array of 34 processes, most of which say "a Process
>in UndefinedObject>>DoIt".  Mark says to 'find the one you want (probably
>near the bottom of the list) and send it terminate."
>My question is:  
>How do I select a receiver from this array to terminate?


In the bottom pane of the inspector, do this:

	(self at: n) terminate

where n is the index in the array of the Process you want to kill.

FWIW, 34 processes seems like a very high number. Have you repeated the example you gave 20 or 30 times?


More information about the Squeak-dev mailing list