From: Vincent van Ravesteijn Date: Mon, 7 Jun 2010 22:12:22 +0000 (+0000) Subject: Fix bug #6685: Assertion when quitting LyX with a Reference List in the Advanced... X-Git-Tag: 2.0.0~3156 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=2ebf8cdc6cb231a05126a998110a0add8d471ac8;p=features.git 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 --- diff --git a/src/LyX.cpp b/src/LyX.cpp index 49ee0b081b..e1bb5a92f7 100644 --- a/src/LyX.cpp +++ b/src/LyX.cpp @@ -206,8 +206,8 @@ frontend::Application * theApp() LyX::~LyX() { - singleton_ = 0; delete pimpl_; + singleton_ = 0; }