qt6-bb10/tests/auto/corelib/kernel/qcoreapplication
Olivier Goffart d6d9edd7c4 Fix dead lock in the Qt event handling
The deadlock is caused because the QEvent is destroyed while holding the
event list mutex. And the QEvent may have a custom destructor that will
re-enter the event handlng code.

The QScopedPointer that should destroy the event must be created after
the MutexUnlocker.

Regression introduced by commit f9035587b9

Task-number: QTBUG-31606
Change-Id: I6b2cbc2656eacdec61b641886953f00bf5b3ff36
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2013-07-10 17:57:10 +02:00
..
.gitignore Moving relevant tests to corelib/kernel 2011-09-01 12:42:14 +02:00
qcoreapplication.pro tst_qcoreapplication: Remove QT_DISABLE_DEPRECATED_BEFORE=0 2013-04-12 07:19:53 +02:00
tst_qcoreapplication.cpp Fix dead lock in the Qt event handling 2013-07-10 17:57:10 +02:00