Fix crash tst_qqmllanguage
authorDominik Holland <dominik.holland@pelagicore.com>
Mon, 1 Jul 2013 20:28:06 +0000 (22:28 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Thu, 5 Sep 2013 08:05:24 +0000 (10:05 +0200)
commitbb6916dc5f52020229fd76c851fa5669f9b9ccf9
treec98b968ff42b8ca72dbdad9899cc319e8d9b17e2
parent80e7142530f41b1bcecae796805e9ea2a3c9285e
Fix crash tst_qqmllanguage

qmlClearTypeRegistrations() shouldn't be called when instances of
QQmlEngine are still open. This can lead to unexpected behavior.

For the qmlClearTypeRegistrations() function there is separate
autotest

Task-number: QTBUG-32078
Change-Id: I32612bc82602593d902bbffc58911e427b50524f
Reviewed-by: Alan Alpert <aalpert@blackberry.com>
tests/auto/qml/qqmllanguage/tst_qqmllanguage.cpp