|
From: Gustavo J. A. M. C. <gj...@in...> - 2006-02-13 12:11:20
|
On Mon, 2006-02-13 at 11:42 +0100, David Boucher wrote: > Hi Gustavo, > > I think you are the best to answer this question :-) > > When I launch gnumexp and then exit. > > I always have numexp-kernel running in the background. That does not > happen with numexp-client. > > I have seen that the Numexp-Kernel object is referenced two times when I > lauch gnumexp. But when I close it, it is unreferenced only one time. > > Do you know how to fix it ? Find the kernel.py module, add a function shutdown() that does "global kernel; kernel.unref(); kernel = None" In the gnumexp 'shell', import kernel, and call kernel.shutdown() where gtk.main_quit() is called. PS: sorry I haven't been paying attention to gnumexp lately; I promise to have another go when gtk+ 2.10 comes out, with cairo PDF support and a print dialog. -- Gustavo J. A. M. Carneiro <gj...@in...> <gu...@us...> The universe is always one step beyond logic. |