mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
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:
parent
068d87a711
commit
2ebf8cdc6c
@ -206,8 +206,8 @@ frontend::Application * theApp()
|
||||
|
||||
LyX::~LyX()
|
||||
{
|
||||
singleton_ = 0;
|
||||
delete pimpl_;
|
||||
singleton_ = 0;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user