Dirk Meyer wrote: > Jason Tackaberry wrote: >> On Sun, 2008-03-02 at 16:02 +0100, Dirk Meyer wrote: >>> Yes. Maybe we should only change the system handler if no one is >>> installed. But what happens in dfb on the system handler? We need a >>> clean shutdown somehow. >> Register an atexit handler and call it only if we weren't able to >> shutdown using our normal route? > > I just did some tests by removing our signal handler. Even with atexit > (we already have this) the handler is not called. The default action > without handler is to stop without _any_ further code.
So how do we achieve a clean shut down? I was thinking that I could install a kaa handler before kaa.main has been run. Of course, DirectFB needs closing down cleanly otherwise the video mode is incorrect. The other shut down problem, is that it does not shut down from the main menu, just blocks. I've checked the current svn against 1.8.0rc2 and the shut down code is the same. There is another error, that I think is coming from kaa.rpc when an exception occurs. I get this message when something is incorrect: exceptions must be classes, instances, or strings (deprecated), not RemoteException Duncan ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Freevo-devel mailing list Freevo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-devel