qt5base-lts/tests/auto/corelib
Simon Hausmann 7c029e83a3 Fix invalid memory read when shutting down QML applications
As the last line in the QObject destructor, we call setParentHelper(0) to
remove ourselves from the parent. In the process of that we also initiate the
QML parentChanged callback. The first thing that parentChanged callback used to
do (but now does it too late, after 26350b5ceafa0ade1328037f6234a7d288eb8f48 in
qtdeclarative) is to check if the object was deleted and then return. We could
re-introduce the check there, but I think it's cleaner to not bother calling
the callback on a dead object in the first place.

Change-Id: Ia4d43b65a9b3744a451b4c312a2d6f9c0e3b67dc
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
2013-11-29 09:54:47 +01:00
..
animation don't erroneously claim that gui support is needed 2013-10-16 17:10:15 +02:00
codecs Allow non-character codes in utf8 strings 2013-10-17 09:50:58 +02:00
global tst_QFlags: make constExpr() check compile on clang trunk 2013-11-07 03:06:29 +01:00
io Change platform selectors to match qmake selectors 2013-11-15 06:36:44 +01:00
itemmodels exclude gui-needing tests from -no-gui build 2013-10-18 20:05:27 +02:00
json Allow non-character codes in utf8 strings 2013-10-17 09:50:58 +02:00
kernel Fix invalid memory read when shutting down QML applications 2013-11-29 09:54:47 +01:00
mimetypes Add QT_NO_PROCESS guards in tests where they are missing 2013-09-03 08:42:24 +02:00
plugin qcompilerdetection.h: add Q_COMPILER_UNIFORM_INIT 2013-11-15 06:30:53 +01:00
statemachine don't erroneously claim that gui support is needed 2013-10-16 17:10:15 +02:00
thread tst_QReadWriteLock: replace a volatile bool with an atomic int 2013-09-23 02:47:49 +02:00
tools QTimeZone - Fix dateForLocalTime() to check validity of next transition 2013-11-21 09:25:23 +01:00
xml Check for network module when building according auto tests 2013-02-19 19:20:53 +01:00
corelib.pro Import QMimeType / QMimeDatabase into QtCore. 2012-02-18 22:19:43 +01:00