Peter Kümmel wrote:
Abdelrazak Younes wrote:
Michael Gerz wrote:
Patch Candidate List #4
Approved by Jürgen
------------------
New
---
None of my commits are applicable except this one:
http://www.lyx.org/trac/changeset/20419 - GuiApplication::notify():
don't crash with abort() but exit gracefully when an exception is
caught. try to catch LyX specific exceptions.
Abdel.
Using ::exit often results (with Qt) in a crash because destructors
of static (Qt) objects are called in arbitrary order.
Are you sure? AFAIK ::exit() will exit without any cleanup.
The best solution
would be to leave Qt's event loop and to regulary return from app.exec().
Therefore, does it work to call QCoreApplication::exit instead of ::exit?
I've tried and it doesn't work fine because then we exit normally.
Abdel.