Fix bug #6685: Assertion when quitting LyX with a Reference List in the Advanced Find Dialog

During the deletion of pimpl_, one don't want the assert LASSERT(singleton_) to fire in one of the the***() functions. In this case it is theBufferList(), which is needed by the dtor of BibItem?.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34623 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Vincent van Ravesteijn 2010-06-07 22:12:22 +00:00
parent 068d87a711
commit 2ebf8cdc6c

View File

@ -206,8 +206,8 @@ frontend::Application * theApp()
LyX::~LyX()
{
singleton_ = 0;
delete pimpl_;
singleton_ = 0;
}