Angus Leeming wrote:
Abdelrazak Younes wrote:
Jean-Marc Lasgouttes wrote:
[This is with or without my previous menu patch]
- run LyX
- Help>Introduction
- Help>Tutorial
- View>Intro.lyx
- exit
===> crash!
This patch fixes this crash and a few others. Will commit soon unless
someone has an objection.
No objection, but which bit(s) caused the crash(es)?
When I did the setBuffer split-up between LyXView and BufferView I
missed a few things apparently. The crashes were essentially due to a
switch to an already deleted buffer. At the time of my cleanup, I did
not fully understand what setBuffer(0) meant. This is bad API IMHO and
should be changed.
Abdel.