Fix bug 4178:

http://bugzilla.lyx.org/show_bug.cgi?id=4178

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20291 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2007-09-15 16:50:14 +00:00
parent 0ea6f2c7f1
commit 75ce500989

View File

@ -17,6 +17,8 @@
#include "GraphicsParams.h" #include "GraphicsParams.h"
#include "LoaderQueue.h" #include "LoaderQueue.h"
#include "callback.h"
#include <boost/bind.hpp> #include <boost/bind.hpp>
@ -206,7 +208,8 @@ Loader::Impl::Impl()
Loader::Impl::~Impl() Loader::Impl::~Impl()
{ {
resetFile(FileName()); if (!quitting)
resetFile(FileName());
} }