mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 13:31:49 +00:00
Don't unlock QApplication's mutex as it leads to undefined behaviour (and crashes NetBSD).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10560 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
7f31131552
commit
52c945af74
@ -1,3 +1,9 @@
|
|||||||
|
2005-10-19 Angus Leeming <leeming@lyx.org>
|
||||||
|
|
||||||
|
* lyx_gui.C (LApplication d-tor): remove code to unlock
|
||||||
|
QApplication mutex as we didn't lock the thing in the
|
||||||
|
first place; undefined behaviour.
|
||||||
|
|
||||||
2005-10-16 Georg Baum <Georg.Baum@post.rwth-aachen.de>
|
2005-10-16 Georg Baum <Georg.Baum@post.rwth-aachen.de>
|
||||||
|
|
||||||
* QLyXKeySym.C (initEncodings): prevent crash when no codec found
|
* QLyXKeySym.C (initEncodings): prevent crash when no codec found
|
||||||
|
@ -135,12 +135,7 @@ LQApplication::LQApplication(int & argc, char ** argv)
|
|||||||
|
|
||||||
|
|
||||||
LQApplication::~LQApplication()
|
LQApplication::~LQApplication()
|
||||||
{
|
{}
|
||||||
#ifdef QT_THREAD_SUPPORT
|
|
||||||
if (locked())
|
|
||||||
unlock();
|
|
||||||
#endif
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
#ifdef Q_WS_MACX
|
#ifdef Q_WS_MACX
|
||||||
|
Loading…
Reference in New Issue
Block a user