On Fri, Nov 17, 2006 at 04:57:14PM +0100, Peter Kümmel wrote: > > Abdelrazak> This is something else... Do you have an idea Georg? > > > > Looks like prepareExit tries to use _() and the iconv stuff has > > already been killed. Probably that the static IconvProcessor (in > > utf8_to_ucs4) and the LyX instance are not deleted in the right order. > > > > Long long ago, we had a lot of problems with creation/destruction > > order of global object. I think it is the same problem now. We should > > have tighter control on when stuff gets deleted. > > > > JMarc > > > > I know very well the Singleton pattern of Loki, there is also a > template to control the life time of global objects. Maybe > we could use these templates or is it a no-go?
*shrug* Why not simply create he singleton dynamically and let it leak at the end? Andre' --