bug 865 fix

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6068 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
John Levon 2003-02-07 16:46:40 +00:00
parent 4d14147e5e
commit 2766b79d8e
2 changed files with 8 additions and 0 deletions

View 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> 2003-02-07 Juergen Spitzmueller <j.spitzmueller@gmx.de>
* QTabular.C (closeGUI): do not change if nothing has to * QTabular.C (closeGUI): do not change if nothing has to

View File

@ -170,11 +170,15 @@ void lyx_gui::start(string const & batch, vector<string> const & files)
// FIXME // FIXME
delete lyxserver; delete lyxserver;
lyxserver = 0;
} }
void lyx_gui::exit() void lyx_gui::exit()
{ {
delete lyxserver;
lyxserver = 0;
// we cannot call qApp->exit(0) - that could return us // we cannot call qApp->exit(0) - that could return us
// into a static dialog return in the lyx code (for example, // into a static dialog return in the lyx code (for example,
// load autosave file QMessageBox. We have to just get the hell // load autosave file QMessageBox. We have to just get the hell