Re: kaa.metadata starts kaa main loop?

Jason Tackaberry <[email protected]>
Newsgroups gmane.comp.video.freevo.devel
Message-ID <1281381056.1003.102.camel@arrakis>
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?


> > dischi, this looks like your code, so I don't want to change anything
> > before double checking.  I think we should do this the first time
> > kaa.main.loop() is called, and only replace default handlers, not
> > handlers that might have been previously set by the user.  Objections if
> > I make this change?
> 
> No, sounds good to me

Ok, I will update it tonight.

Jason.


------------------------------------------------------------------------------
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.