Re: Garbage collection of classes with static variable

2004-04-14 Thread QM
On Wed, Apr 14, 2004 at 09:46:12PM +0100, Tiago Matias wrote: : As a side question, if the singleton life cycle can not be easily : controlled or known, what is the best way to perform an one-time : expensive initialization? If it's just general init activity (say, loading a config file), do a w

Garbage collection of classes with static variable

2004-04-14 Thread Tiago Matias
Hey I know that this is an old and a quite recurring issue here, but after spending some time going through the archives and googling around I'm still a bit confused. The problem is relatively simple. I have a singleton class which takes a lot of time to initialize and I need to understand if