help-smalltalk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-smalltalk] Is there a hook (a method) which is called, if the


From: Stefan Schmiedl
Subject: Re: [Help-smalltalk] Is there a hook (a method) which is called, if the vm ends?
Date: Fri, 3 Jul 2009 00:47:08 +0200

On Fri, 03 Jul 2009 00:05:22 +0200
Joachim Jaeckel <address@hidden> wrote:

> (Would it be an idea, to maintain an OrderedCollection in the class
> with all the instances of this class, to iterate over all these in
> the case, the #update: class-method is getting the #aboutToQuit?)

I'm not sure if that is the solution to your original problem,
but this idea is so useful that you're not the first to have it:

GNU Smalltalk ready

st> Object allInstances size
0
st> Object new class allInstances size
1

s.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]