On Wed, Jun 07, 2006 at 10:07:38PM +0200, Georg Baum wrote: > Am Dienstag, 6. Juni 2006 14:52 schrieb Georg Baum: > > Jean-Marc Lasgouttes wrote: > > > > > Do we need extensive testing of batch-commands processing, for > > > example? > > > > I am not sure whether it is possible to test all code paths. I would be > > confident if somebody could review all cases where lyx_exit() is used, > the > > rest should be safe. My idea behind the lyx_exit change was that we need > to > > use lyx_gui::exit if we exit after we entered the GUI event loop. > > I checked that myself again and remove one from teh signal handler. I am > applying the attached patch now to trunk. If you ask me the corresponding > 1.4 patch could go in, too.
Ahm... btw: I once had troubles with throwing exceptions through a Qt event loop (basically terminating the loop) I am not sure this is allowed at all. Andre'