Make sure qt lyx deletes the lyxpipes in both possible exit pipes. This
is perhaps a little more paranoid than necessary but it can't harm.

JMarc, ok for you ?

john

Index: lyx_gui.C
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/frontends/qt2/lyx_gui.C,v
retrieving revision 1.30
diff -u -r1.30 lyx_gui.C
--- lyx_gui.C   23 Jan 2003 16:23:39 -0000      1.30
+++ lyx_gui.C   7 Feb 2003 14:35:03 -0000
@@ -170,11 +170,15 @@
 
        // FIXME
        delete lyxserver;
+       lyxserver = 0;
 }
 
 
 void lyx_gui::exit()
 {
+       delete lyxserver;
+       lyxserver = 0;
+
        // we cannot call qApp->exit(0) - that could return us
        // into a static dialog return in the lyx code (for example,
        // load autosave file QMessageBox. We have to just get the hell

Reply via email to