From 2ebf8cdc6cb231a05126a998110a0add8d471ac8 Mon Sep 17 00:00:00 2001 From: Vincent van Ravesteijn Date: Mon, 7 Jun 2010 22:12:22 +0000 Subject: [PATCH] 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 --- src/LyX.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.39.2