rgh...@lyx.org schreef:
Author: rgheck
Date: Sat Aug 15 18:39:36 2009
New Revision: 31057
URL: http://www.lyx.org/trac/changeset/31057
Log:
As discussed on the list: Check for dirty Buffer when destroyed.
Write emergency file if necessary.
Richard,
This doesn't really work like it should. When quitting LyX and
discarding my changes I arrive in the new piece of code (which I
shouldn't).
Even worse, I got a strange assertion when the emergency file was
written. And I had no clue how that was caused. I still don't understand
why I didn't see that before. Probably because LyX crashes anyway when
an emergency file was necessary.
Well, the crash is fixed in r31062.
Vincent