From: Chris W. <ch...@cw...> - 2005-07-06 01:49:07
|
On Jul 5, 2005, at 5:41 PM, Antti M V=E4h=E4kotam=E4ki wrote: > ... > Hmm.. Could we just check if the singleton object already exists in =20= > the memory and not initialize it twice? Why didn't I think of this =20 > before? But well I'm not bugged by this anymore so those who are =20 > can try if it works ;) We already do this -- OI2::Context->create() will return an existing =20 context if it already exists. Chris -- Chris Winters (ch...@cw...) Building enterprise-capable snack solutions since 1988. |