mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
fix crash on exit (when using http://dmoulding.googlepages.com/vld)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21899 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
1afafb9d5b
commit
3068cb9917
@ -264,6 +264,9 @@ Buffer::~Buffer()
|
||||
// here the buffer should take care that it is
|
||||
// saved properly, before it goes into the void.
|
||||
|
||||
// GuiView already destroyed
|
||||
gui_ = 0;
|
||||
|
||||
Buffer const * master = masterBuffer();
|
||||
if (master != this && use_gui)
|
||||
// We are closing buf which was a child document so we
|
||||
|
Loading…
Reference in New Issue
Block a user