On 09.08.2010 21:10, Jason Tackaberry wrote: > On Mon, 2010-08-09 at 20:17 +0200, Dirk Meyer wrote: >> It is needed for a clean mainloop shutdown > > Why? > > My best guess is that you're trying to handle the case where the app > calls sys.exit() to exit, but if they're a kaa app they should be using > kaa.main.stop() and if they're a twisted app they should be using > reactor.stop() or whatever. > > Is there some other case that this hook is needed for?
The kaa mainloop may run in a thread with QT or twisted being the main app. In that case we need a clean shutdown outside kaa. This is what I remeber, it has been a long time since I wrote it. :) Dischi -- I don't do drugs anymore 'cause I find I get the same effect just by standing up really fast. ------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev _______________________________________________ Freevo-devel mailing list Freevo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-devel