]> git.lyx.org Git - lyx.git/commitdiff
bug 865 fix
authorJohn Levon <levon@movementarian.org>
Fri, 7 Feb 2003 16:46:40 +0000 (16:46 +0000)
committerJohn Levon <levon@movementarian.org>
Fri, 7 Feb 2003 16:46:40 +0000 (16:46 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6068 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt2/ChangeLog
src/frontends/qt2/lyx_gui.C

index 0bd7da7d5368edc1e9be6fab1e0d6aea9a997f1c..eee24b6263aa786c8e27badd65b86f5ded07ef59 100644 (file)
@@ -1,3 +1,7 @@
+2003-02-07  John Levon  <levon@movementarian.org>
+
+       * lyx_gui.C: delete lyxserver on exit path (bug 865)
+
 2003-02-07  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
 
        * QTabular.C (closeGUI): do not change if nothing has to 
index d5eca643e5447ece838eade57d652c6498bf765a..b9d4c7ae772a0422a1ae93c5600ce18d78bf3ad2 100644 (file)
@@ -170,11 +170,15 @@ void lyx_gui::start(string const & batch, vector<string> const & files)
 
        // 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